本文整理匯總了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);
}