本文整理汇总了Java中com.pervasive.datarush.functions.ScalarValuedFunction类的典型用法代码示例。如果您正苦于以下问题:Java ScalarValuedFunction类的具体用法?Java ScalarValuedFunction怎么用?Java ScalarValuedFunction使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ScalarValuedFunction类属于com.pervasive.datarush.functions包,在下文中一共展示了ScalarValuedFunction类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: newfunction
import com.pervasive.datarush.functions.ScalarValuedFunction; //导入依赖的package包/类
@Function(description="Applies myfunction to arg1 and arg2",
category="NewFunctions",
argumentNames={"arg1","arg2"})
public static ScalarValuedFunction newfunction(ScalarValuedFunction arg1,ScalarValuedFunction arg2) {
return define("NewFunctions.newfunction",TokenTypeConstant.STRING,NewFunction.class, arg1, arg2);
}
示例2: jsonpath
import com.pervasive.datarush.functions.ScalarValuedFunction; //导入依赖的package包/类
@Function(description="Applies a JSONPath expression to a JSON string",
category="JSON",
argumentNames={"expression","value"})
public static ScalarValuedFunction jsonpath(ScalarValuedFunction expression,ScalarValuedFunction jsonText) {
return define("JSON.jsonpath",TokenTypeConstant.STRING,JSONPath.class, expression, jsonText);
}
示例3: xpath
import com.pervasive.datarush.functions.ScalarValuedFunction; //导入依赖的package包/类
@Function(description="Applies XPath expression to XML string",
category="XML",
argumentNames={"expression","value"})
public static ScalarValuedFunction xpath(ScalarValuedFunction expression,ScalarValuedFunction xmlText) {
return define("XML.xpath",TokenTypeConstant.STRING,XPath.class, expression, xmlText);
}
示例4: xmlescape
import com.pervasive.datarush.functions.ScalarValuedFunction; //导入依赖的package包/类
@Function(description="Escape a string to embed in XML",
category="XML",
argumentNames={"string"})
public static ScalarValuedFunction xmlescape(ScalarValuedFunction expression) {
return define("XML.xmlescape",TokenTypeConstant.STRING,XMLEscape.class,expression);
}