Class FieldUtil


  • public class FieldUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.lang.Object> getCategories​(org.dmg.pmml.DataField dataField)  
      static org.dmg.pmml.DataType getDataType​(org.dmg.pmml.Field<?> field)  
      static org.dmg.pmml.OpType getOpType​(org.dmg.pmml.Field<?> field, org.dmg.pmml.MiningField miningField)  
      static org.dmg.pmml.OpType getOpType​(org.dmg.pmml.Field<?> field, org.dmg.pmml.MiningField miningField, org.dmg.pmml.Target target)  
      static <F extends org.dmg.pmml.Field<F> & org.dmg.pmml.HasContinuousDomain<F>>
      com.google.common.collect.RangeSet<java.lang.Double>
      getValidRanges​(F field)  
      static <F extends org.dmg.pmml.Field<F> & org.dmg.pmml.HasDiscreteDomain<F>>
      java.util.List<?>
      getValidValues​(F field)  
      • Methods inherited from class java.lang.Object

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

      • getCategories

        public static java.util.List<java.lang.Object> getCategories​(org.dmg.pmml.DataField dataField)
      • getValidValues

        public static <F extends org.dmg.pmml.Field<F> & org.dmg.pmml.HasDiscreteDomain<F>> java.util.List<?> getValidValues​(F field)
      • getValidRanges

        public static <F extends org.dmg.pmml.Field<F> & org.dmg.pmml.HasContinuousDomain<F>> com.google.common.collect.RangeSet<java.lang.Double> getValidRanges​(F field)
      • getOpType

        public static org.dmg.pmml.OpType getOpType​(org.dmg.pmml.Field<?> field,
                                                    org.dmg.pmml.MiningField miningField)
      • getOpType

        public static org.dmg.pmml.OpType getOpType​(org.dmg.pmml.Field<?> field,
                                                    org.dmg.pmml.MiningField miningField,
                                                    org.dmg.pmml.Target target)
      • getDataType

        public static org.dmg.pmml.DataType getDataType​(org.dmg.pmml.Field<?> field)