Skip navigation links
KIE :: PMML :: Compiler :: Commons 7.45.0.t20201009
A C D E G J K L M O P S 

A

addMapPopulation(Map<String, MethodDeclaration>, BlockStmt, String) - Static method in class org.kie.pmml.compiler.commons.utils.CommonCodegenUtils
For every entry in the given map, add (mapName).put(entry_key, this::entry_value_ref>); e.g.
addMethod(MethodDeclaration, ClassOrInterfaceDeclaration, String) - Static method in class org.kie.pmml.compiler.commons.utils.CommonCodegenUtils
Add a MethodDeclaration to the class
addOutputFieldsPopulation(BlockStmt, List<KiePMMLOutputField>) - Static method in class org.kie.pmml.compiler.commons.utils.KiePMMLModelFactoryUtils
Populate the outputFields List<KiePMMLOutputField>
addTransformationsInClassOrInterfaceDeclaration(ClassOrInterfaceDeclaration, TransformationDictionary, LocalTransformations) - Static method in class org.kie.pmml.compiler.commons.utils.KiePMMLModelFactoryUtils
Add common and local local transformations management inside the given ClassOrInterfaceDeclaration

C

CommonCodegenUtils - Class in org.kie.pmml.compiler.commons.utils
Class meant to provide helper methods to all code-generating classes

D

DefineFunctionUtils - Class in org.kie.pmml.compiler.commons.utils
Class meant to provide helper methods to retrieve Function code-generators out of DefineFunctions
DerivedFieldFunctionUtils - Class in org.kie.pmml.compiler.commons.utils
Class meant to provide helper methods to retrieve Function code-generators out of DerivedFields

E

ExpressionFunctionUtils - Class in org.kie.pmml.compiler.commons.utils
Class meant to provide helper methods to retrieve Function code-generators out of Expressions

G

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

J

JavaParserUtils - Class in org.kie.pmml.compiler.commons.utils
Class to provide shared, helper methods to be invoked by model-specific code-generation

K

KiePMMLExtensionFactory - Class in org.kie.pmml.compiler.commons.factories
 
KiePMMLFactoryFactory - Class in org.kie.pmml.compiler.commons.factories
This class is meant to create source code for PMML file-specific Factory
KiePMMLFieldRefFactory - Class in org.kie.pmml.compiler.commons.factories
 
KiePMMLModelFactory - Interface in org.kie.pmml.compiler.commons.factories
Interface to be implemented by code-generated classes to retrieve List<KiePMMLModel>s from kjar inside PMMLAssemblerService.
KiePMMLModelFactoryUtils - Class in org.kie.pmml.compiler.commons.utils
Class to provide shared, helper methods to be invoked by model-specific factories (e.g.
KiePMMLModelRetriever - Class in org.kie.pmml.compiler.commons.implementations
 
KiePMMLOutputFieldFactory - Class in org.kie.pmml.compiler.commons.factories
 
KiePMMLPredicateFactory - Class in org.kie.pmml.compiler.commons.factories
 
KiePMMLUtil - Class in org.kie.pmml.compiler.commons.utils
Utility class to decouple PMMLCompilerExecutor from actual marshalling model/implementation.

L

load(String) - Static method in class org.kie.pmml.compiler.commons.utils.KiePMMLUtil
 
load(InputStream, String) - Static method in class org.kie.pmml.compiler.commons.utils.KiePMMLUtil
 

M

MAIN_CLASS_NOT_FOUND - Static variable in class org.kie.pmml.compiler.commons.utils.JavaParserUtils
 
ModelImplementationProviderFinderImpl - Class in org.kie.pmml.compiler.commons.implementations
Default ModelImplementationProviderFinder using Java SPI
ModelImplementationProviderFinderImpl() - Constructor for class org.kie.pmml.compiler.commons.implementations.ModelImplementationProviderFinderImpl
 
ModelUtils - Class in org.kie.pmml.compiler.commons.utils
Class to provide common methods to interact with Model

O

OPTIONAL_FILTERED_KIEPMMLNAMEVALUE_NAME - Static variable in class org.kie.pmml.compiler.commons.utils.CommonCodegenUtils
 
org.kie.pmml.compiler.commons.factories - package org.kie.pmml.compiler.commons.factories
 
org.kie.pmml.compiler.commons.implementations - package org.kie.pmml.compiler.commons.implementations
 
org.kie.pmml.compiler.commons.utils - package org.kie.pmml.compiler.commons.utils
 

P

populateMethodDeclarations(ClassOrInterfaceDeclaration, Collection<MethodDeclaration>) - Static method in class org.kie.pmml.compiler.commons.utils.CommonCodegenUtils
Populate the ClassOrInterfaceDeclaration with the provided MethodDeclarations

S

SEGMENTID_TEMPLATE - Static variable in class org.kie.pmml.compiler.commons.utils.KiePMMLUtil
 
setAssignExpressionValue(BlockStmt, String, Expression) - Static method in class org.kie.pmml.compiler.commons.utils.CommonCodegenUtils
Set the value of the variable with the given assignExpressionName in the given BlockStmt It throws KiePMMLException if variable is not found
setConstructorSuperNameInvocation(String, ConstructorDeclaration, String) - Static method in class org.kie.pmml.compiler.commons.utils.KiePMMLModelFactoryUtils
Set the name parameter on super invocation
setExplicitConstructorInvocationArgument(ExplicitConstructorInvocationStmt, String, String) - Static method in class org.kie.pmml.compiler.commons.utils.CommonCodegenUtils
Return an Optional<NameExpr> from the given ExplicitConstructorInvocationStmt
A C D E G J K L M O P S 
KIE :: PMML :: Compiler :: Commons 7.45.0.t20201009

Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.