public class KiePMMLASTFactoryUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<KiePMMLFieldOperatorValue> |
getConstraintEntriesFromAndOrCompoundPredicate(org.dmg.pmml.CompoundPredicate compoundPredicate,
Map<String,KiePMMLOriginalTypeGeneratedType> fieldTypeMap)
Method to be invoked when compoundPredicate.getBooleanOperator() is
AND or OR. |
static List<KiePMMLFieldOperatorValue> |
getConstraintEntriesFromXOrCompoundPredicate(org.dmg.pmml.CompoundPredicate compoundPredicate,
Map<String,KiePMMLOriginalTypeGeneratedType> fieldTypeMap)
Method to be invoked when compoundPredicate.getBooleanOperator() is
XOR. |
static KiePMMLFieldOperatorValue |
getConstraintEntryFromSimplePredicates(String fieldName,
BOOLEAN_OPERATOR containerOperator,
List<org.dmg.pmml.SimplePredicate> simplePredicates,
Map<String,KiePMMLOriginalTypeGeneratedType> fieldTypeMap)
This method should be invoked with a
List<SimplePredicate> where each SimplePredicate is referring to the same field |
static Object |
getCorrectlyFormattedObject(org.dmg.pmml.SimplePredicate simplePredicate,
Map<String,KiePMMLOriginalTypeGeneratedType> fieldTypeMap) |
static List<KiePMMLFieldOperatorValue> |
getXORConstraintEntryFromSimplePredicates(List<org.dmg.pmml.Predicate> predicates,
Map<String,KiePMMLOriginalTypeGeneratedType> fieldTypeMap) |
public static List<KiePMMLFieldOperatorValue> getConstraintEntriesFromAndOrCompoundPredicate(org.dmg.pmml.CompoundPredicate compoundPredicate, Map<String,KiePMMLOriginalTypeGeneratedType> fieldTypeMap)
AND or OR. Throws exception otherwisecompoundPredicate - fieldTypeMap - public static List<KiePMMLFieldOperatorValue> getConstraintEntriesFromXOrCompoundPredicate(org.dmg.pmml.CompoundPredicate compoundPredicate, Map<String,KiePMMLOriginalTypeGeneratedType> fieldTypeMap)
XOR. Throws exception otherwisecompoundPredicate - fieldTypeMap - public static KiePMMLFieldOperatorValue getConstraintEntryFromSimplePredicates(String fieldName, BOOLEAN_OPERATOR containerOperator, List<org.dmg.pmml.SimplePredicate> simplePredicates, Map<String,KiePMMLOriginalTypeGeneratedType> fieldTypeMap)
List<SimplePredicate> where each SimplePredicate is referring to the same fieldfieldName - containerOperator - simplePredicates - fieldTypeMap - public static List<KiePMMLFieldOperatorValue> getXORConstraintEntryFromSimplePredicates(List<org.dmg.pmml.Predicate> predicates, Map<String,KiePMMLOriginalTypeGeneratedType> fieldTypeMap)
public static Object getCorrectlyFormattedObject(org.dmg.pmml.SimplePredicate simplePredicate, Map<String,KiePMMLOriginalTypeGeneratedType> fieldTypeMap)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.