- getAssignExpression(BlockStmt, String) - Static method in class org.kie.pmml.compiler.commons.utils.CommonCodegenUtils
-
Return an Optional<AssignExpr> with the given assignExpressionName from the given BlockStmt
- getBoxedClassName(ParameterField) - Static method in class org.kie.pmml.compiler.commons.utils.ModelUtils
-
Retrieve the mapped class name of the given ParameterField, eventually boxed (for primitive ones)
It returns Object ParameterField.getDataType() is null
- getBoxedClassName(DataType) - Static method in class org.kie.pmml.compiler.commons.utils.ModelUtils
-
Retrieve the mapped class name of the given DataType, eventually boxed (for primitive ones).
- getDataType(DataDictionary, String) - Static method in class org.kie.pmml.compiler.commons.utils.ModelUtils
-
DATA_TYPE of the given field
- getExplicitConstructorInvocationParameter(ExplicitConstructorInvocationStmt, String) - Static method in class org.kie.pmml.compiler.commons.utils.CommonCodegenUtils
-
Return an Optional<NameExpr> from the given ExplicitConstructorInvocationStmt
- getExplicitConstructorInvocationStmt(BlockStmt) - Static method in class org.kie.pmml.compiler.commons.utils.CommonCodegenUtils
-
Return an Optional<ExplicitConstructorInvocationStmt> from the given BlockStmt
- getFactorySourceCode(String, String, Set<String>) - Static method in class org.kie.pmml.compiler.commons.factories.KiePMMLFactoryFactory
-
- getFilteredKiePMMLNameValueExpression(String, String, boolean) - Static method in class org.kie.pmml.compiler.commons.utils.CommonCodegenUtils
-
Returns
Optional kiePMMLNameValue = (kiePMMLNameValueListParam)
.stream()
.filter((KiePMMLNameValue kpmmlnv) -> Objects.equals("(fieldNameToRef)", kpmmlnv.getName()))
.findFirst();
expression, where kiePMMLNameValueListParam is the name of the
List<KiePMMLNameValue> parameter, and
fieldNameToRef is the name of the field to find, in the containing method
- getFromCommonDataAndTransformationDictionaryAndModel(DataDictionary, TransformationDictionary, Model, Object) - Static method in class org.kie.pmml.compiler.commons.implementations.KiePMMLModelRetriever
-
Read the given DataDictionary and Model> to return an Optional<KiePMMLModel>
- getFromCommonDataAndTransformationDictionaryAndModelFromPlugin(String, DataDictionary, TransformationDictionary, Model, Object) - Static method in class org.kie.pmml.compiler.commons.implementations.KiePMMLModelRetriever
-
Read the given DataDictionary and Model> to return an Optional<KiePMMLModel>
- getFromFileName(String) - Static method in class org.kie.pmml.compiler.commons.utils.JavaParserUtils
-
- getFullClassName(CompilationUnit) - Static method in class org.kie.pmml.compiler.commons.utils.JavaParserUtils
-
Return the fully qualified name of the generated class.
- getImplementations(boolean) - Method in class org.kie.pmml.compiler.commons.implementations.ModelImplementationProviderFinderImpl
-
- getKiePMMLCompoundPredicate(CompoundPredicate, DataDictionary) - Static method in class org.kie.pmml.compiler.commons.factories.KiePMMLPredicateFactory
-
- getKiePMMLExtension(Extension) - Static method in class org.kie.pmml.compiler.commons.factories.KiePMMLExtensionFactory
-
- getKiePMMLExtensions(List<Extension>) - Static method in class org.kie.pmml.compiler.commons.factories.KiePMMLExtensionFactory
-
- getKiePMMLFalsePredicate() - Static method in class org.kie.pmml.compiler.commons.factories.KiePMMLPredicateFactory
-
- getKiePMMLFieldRef(FieldRef) - Static method in class org.kie.pmml.compiler.commons.factories.KiePMMLFieldRefFactory
-
- getKiePMMLFieldRefs(List<FieldRef>) - Static method in class org.kie.pmml.compiler.commons.factories.KiePMMLFieldRefFactory
-
- getKiePMMLModelCompilationUnit(String, String, String, String) - Static method in class org.kie.pmml.compiler.commons.utils.JavaParserUtils
-
- getKiePMMLModels() - Method in interface org.kie.pmml.compiler.commons.factories.KiePMMLModelFactory
-
- getKiePMMLOutputField(OutputField) - Static method in class org.kie.pmml.compiler.commons.factories.KiePMMLOutputFieldFactory
-
- getKiePMMLSimplePredicate(SimplePredicate, DataType) - Static method in class org.kie.pmml.compiler.commons.factories.KiePMMLPredicateFactory
-
- getKiePMMLSimpleSetPredicate(SimpleSetPredicate) - Static method in class org.kie.pmml.compiler.commons.factories.KiePMMLPredicateFactory
-
- getKiePMMLTruePredicate() - Static method in class org.kie.pmml.compiler.commons.factories.KiePMMLPredicateFactory
-
- getMethodDeclaration(String, Map<String, ClassOrInterfaceType>) - Static method in class org.kie.pmml.compiler.commons.utils.CommonCodegenUtils
-
Returns
empty (methodName)((list of parameterType parameter name)) {
}
a multi-parameters MethodDeclaration whose names are the keys of the given Map
and methodArity, and whose parameters types are the values
The
- getMethodDeclaration(String) - Static method in class org.kie.pmml.compiler.commons.utils.CommonCodegenUtils
-
Returns
empty (methodName)() {
}
A no-parameter MethodDeclaration whose name is derived from given methodName
and methodArity
- getMethodDeclaration(ClassOrInterfaceDeclaration, String) - Static method in class org.kie.pmml.compiler.commons.utils.CommonCodegenUtils
-
Return an Optional<MethodDeclaration> with the first method methodName from the given ClassOrInterfaceDeclaration
- getOpType(DataDictionary, Model, String) - Static method in class org.kie.pmml.compiler.commons.utils.ModelUtils
-
OP_TYPE may be defined inside DataField, MiningField or both.
- getOutputFields(Model) - Static method in class org.kie.pmml.compiler.commons.factories.KiePMMLOutputFieldFactory
-
- getPredicate(Predicate, DataDictionary) - Static method in class org.kie.pmml.compiler.commons.factories.KiePMMLPredicateFactory
-
- getPredicates(List<Predicate>, DataDictionary) - Static method in class org.kie.pmml.compiler.commons.factories.KiePMMLPredicateFactory
-
- getPredicateSourcesMap(KiePMMLPredicate, String) - Static method in class org.kie.pmml.compiler.commons.factories.KiePMMLPredicateFactory
-
- getReturnStmt(String) - Static method in class org.kie.pmml.compiler.commons.utils.CommonCodegenUtils
-
Returns
return (returnedVariableName);
e.g
return varOne;
- getTargetFieldName(DataDictionary, Model) - Static method in class org.kie.pmml.compiler.commons.utils.ModelUtils
-
Return an Optional with the name of the field whose usageType is TARGET or PREDICTED
While the xsd schema does not strictly enforce this, it seems that by convention majority of models has only one target.
- getTargetFields(DataDictionary, Model) - Static method in class org.kie.pmml.compiler.commons.utils.ModelUtils
-
Return a List<KiePMMLNameOpType> of target fields
- getTargetFieldsTypeMap(DataDictionary, Model) - Static method in class org.kie.pmml.compiler.commons.utils.ModelUtils
-
Returns a Map<String, DATA_TYPE> of target fields, where the key is the name of the field, and the value is the type of the field
- getTargetFieldType(DataDictionary, Model) - Static method in class org.kie.pmml.compiler.commons.utils.ModelUtils
-
Return the DATA_TYPE> of the field whose usageType is TARGET or PREDICTED.
- getTypedClassOrInterfaceType(String, List<String>) - Static method in class org.kie.pmml.compiler.commons.utils.CommonCodegenUtils
-
Returns
(className)<(comma-separated list of types)>
e.g
CLASS_NAME
a typed ClassOrInterfaceType
- getVariableDeclarator(BlockStmt, String) - Static method in class org.kie.pmml.compiler.commons.utils.CommonCodegenUtils
-
Return an Optional<VariableDeclarator> with the first variable variableName from the given BlockStmt