Class BlockScope

  • All Implemented Interfaces:
    org.jpmml.converter.FeatureResolver
    Direct Known Subclasses:
    FunctionDefScope

    public class BlockScope
    extends Scope
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static BlockScope EMPTY  
    • Constructor Summary

      Constructors 
      Constructor Description
      BlockScope​(java.util.List<? extends org.jpmml.converter.Feature> variables)  
      BlockScope​(java.util.List<? extends org.jpmml.converter.Feature> variables, org.jpmml.converter.PMMLEncoder encoder)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.jpmml.converter.Feature getFeature​(java.lang.String name)  
      org.jpmml.converter.Feature getFeature​(java.lang.String name, int columnIndex)  
      org.jpmml.converter.Feature getFeature​(java.lang.String name, java.lang.String columnName)  
      java.util.List<? extends org.jpmml.converter.Feature> getVariables()  
      org.jpmml.converter.Feature resolveFeature​(java.lang.String name)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BlockScope

        public BlockScope​(java.util.List<? extends org.jpmml.converter.Feature> variables)
      • BlockScope

        public BlockScope​(java.util.List<? extends org.jpmml.converter.Feature> variables,
                          org.jpmml.converter.PMMLEncoder encoder)
    • Method Detail

      • getFeature

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

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

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

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

        public java.util.List<? extends org.jpmml.converter.Feature> getVariables()