Class DataFrameScope

  • All Implemented Interfaces:
    org.jpmml.converter.FeatureResolver

    public class DataFrameScope
    extends Scope
    • Constructor Detail

      • DataFrameScope

        public DataFrameScope​(List<? extends org.jpmml.converter.Feature> columns)
      • DataFrameScope

        public DataFrameScope​(List<? extends org.jpmml.converter.Feature> columns,
                              org.jpmml.converter.PMMLEncoder encoder)
      • DataFrameScope

        public DataFrameScope​(String variableName,
                              List<? extends org.jpmml.converter.Feature> columns)
      • DataFrameScope

        public DataFrameScope​(String variableName,
                              List<? extends org.jpmml.converter.Feature> columns,
                              org.jpmml.converter.PMMLEncoder encoder)
    • Method Detail

      • getFeature

        public org.jpmml.converter.Feature getFeature​(String name)
        Specified by:
        getFeature in class Scope
      • getFeature

        public org.jpmml.converter.Feature getFeature​(String name,
                                                      int columnIndex)
        Specified by:
        getFeature in class Scope
      • getFeature

        public org.jpmml.converter.Feature getFeature​(String name,
                                                      String columnName)
        Specified by:
        getFeature in class Scope
      • resolveFeature

        public org.jpmml.converter.Feature resolveFeature​(String name)
        Specified by:
        resolveFeature in interface org.jpmml.converter.FeatureResolver
        Overrides:
        resolveFeature in class Scope
      • getVariableName

        public String getVariableName()
      • getColumns

        public List<? extends org.jpmml.converter.Feature> getColumns()