Class KiePMMLDataDictionaryASTFactory


  • public class KiePMMLDataDictionaryASTFactory
    extends java.lang.Object
    Class used to generate KiePMMLDroolsTypes out of a DataDictionary
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      KiePMMLDroolsType declareType​(org.dmg.pmml.Field field)
      Create a KiePMMLDroolsType out of original DataField, and populate the fieldNameTypeNameMap with mapping between original field' name and original type/generated type tupla
      java.util.List<KiePMMLDroolsType> declareTypes​(java.util.List<org.dmg.pmml.Field<?>> fields)
      Create a List<KiePMMLDroolsType> out of original Fields, and populate the fieldNameTypeNameMap with mapping between original field' name and original type/generated type tupla
      static KiePMMLDataDictionaryASTFactory factory​(java.util.Map<java.lang.String,​KiePMMLOriginalTypeGeneratedType> fieldTypeMap)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • factory

        public static KiePMMLDataDictionaryASTFactory factory​(java.util.Map<java.lang.String,​KiePMMLOriginalTypeGeneratedType> fieldTypeMap)
        Parameters:
        fieldTypeMap - the Map<String, KiePMMLOriginalTypeGeneratedType> to be populated with mapping between original field' name and original type/generated type tupla
        Returns:
      • declareTypes

        public java.util.List<KiePMMLDroolsType> declareTypes​(java.util.List<org.dmg.pmml.Field<?>> fields)
        Create a List<KiePMMLDroolsType> out of original Fields, and populate the fieldNameTypeNameMap with mapping between original field' name and original type/generated type tupla
        Parameters:
        fields -
      • declareType

        public KiePMMLDroolsType declareType​(org.dmg.pmml.Field field)
        Create a KiePMMLDroolsType out of original DataField, and populate the fieldNameTypeNameMap with mapping between original field' name and original type/generated type tupla
        Parameters:
        field -