public class ExpressionFunctionUtils extends Object
Function code-generators
out of Expressions| Modifier and Type | Field and Description |
|---|---|
static String |
APPLY_VARIABLE |
static String |
CONSTANT_VALUE |
static String |
FIELDREFVARIABLE |
static String |
INPUT_DATA |
static String |
KEYREFVARIABLE |
static String |
KIEPMMLNAMEVALUE |
static String |
MISSINGFIELDREFVARIABLE |
| Modifier and Type | Method and Description |
|---|---|
static com.github.javaparser.ast.body.MethodDeclaration |
getExpressionMethodDeclarationWithKiePMMLNameValues(org.dmg.pmml.Expression expression,
org.dmg.pmml.DataType dataType,
String methodName)
Return a
MethodDeclaration with List<KiePMMLNameValue> param1 as parameter
e.g. |
static com.github.javaparser.ast.body.MethodDeclaration |
getExpressionMethodDeclarationWithStringObjectMap(org.dmg.pmml.Expression expression,
org.dmg.pmml.DataType dataType,
String methodName)
Return a
MethodDeclaration with Map<String, Object> param1 as parameter
e.g. |
static com.github.javaparser.ast.body.MethodDeclaration |
getExpressionMethodDeclarationWithVariableParameters(String methodName,
org.dmg.pmml.Expression expression,
org.dmg.pmml.DataType dataType,
List<org.dmg.pmml.ParameterField> parameterFields)
Return a
MethodDeclaration with parameters retrieved from parameterFields
e.g. |
public static final String APPLY_VARIABLE
public static final String CONSTANT_VALUE
public static final String INPUT_DATA
public static final String KIEPMMLNAMEVALUE
public static final String FIELDREFVARIABLE
public static final String KEYREFVARIABLE
public static final String MISSINGFIELDREFVARIABLE
public static com.github.javaparser.ast.body.MethodDeclaration getExpressionMethodDeclarationWithKiePMMLNameValues(org.dmg.pmml.Expression expression,
org.dmg.pmml.DataType dataType,
String methodName)
MethodDeclaration with List<KiePMMLNameValue> param1 as parameter
e.g.
_dataType_ _methodName_(java.util.List param1) {
...
}
expression - dataType - methodName - public static com.github.javaparser.ast.body.MethodDeclaration getExpressionMethodDeclarationWithStringObjectMap(org.dmg.pmml.Expression expression,
org.dmg.pmml.DataType dataType,
String methodName)
MethodDeclaration with Map<String, Object> param1 as parameter
e.g.
_dataType_ _methodName_(java.util.Map param1) {
...
}
expression - dataType - methodName - public static com.github.javaparser.ast.body.MethodDeclaration getExpressionMethodDeclarationWithVariableParameters(String methodName, org.dmg.pmml.Expression expression, org.dmg.pmml.DataType dataType, List<org.dmg.pmml.ParameterField> parameterFields)
MethodDeclaration with parameters retrieved from parameterFields
e.g.
_dataType_ _methodName_(java.util.Map param1, Object param2) {
...
}
methodName - expression - dataType - parameterFields - Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.