Package org.jpmml.python
Class BlockScope
- java.lang.Object
-
- org.jpmml.python.Scope
-
- org.jpmml.python.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 BlockScopeEMPTY
-
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.FeaturegetFeature(java.lang.String name)org.jpmml.converter.FeaturegetFeature(java.lang.String name, int columnIndex)org.jpmml.converter.FeaturegetFeature(java.lang.String name, java.lang.String columnName)java.util.List<? extends org.jpmml.converter.Feature>getVariables()org.jpmml.converter.FeatureresolveFeature(java.lang.String name)-
Methods inherited from class org.jpmml.python.Scope
getEncoder
-
-
-
-
Field Detail
-
EMPTY
public static final BlockScope EMPTY
-
-
Method Detail
-
getFeature
public org.jpmml.converter.Feature getFeature(java.lang.String name)
- Specified by:
getFeaturein classScope
-
getFeature
public org.jpmml.converter.Feature getFeature(java.lang.String name, int columnIndex)- Specified by:
getFeaturein classScope
-
getFeature
public org.jpmml.converter.Feature getFeature(java.lang.String name, java.lang.String columnName)- Specified by:
getFeaturein classScope
-
resolveFeature
public org.jpmml.converter.Feature resolveFeature(java.lang.String name)
- Specified by:
resolveFeaturein interfaceorg.jpmml.converter.FeatureResolver- Overrides:
resolveFeaturein classScope
-
getVariables
public java.util.List<? extends org.jpmml.converter.Feature> getVariables()
-
-