Package org.jpmml.python
Class FunctionDefScope
- java.lang.Object
-
- org.jpmml.python.Scope
-
- org.jpmml.python.BlockScope
-
- org.jpmml.python.FunctionDefScope
-
- All Implemented Interfaces:
org.jpmml.converter.FeatureResolver
public class FunctionDefScope extends BlockScope
-
-
Field Summary
-
Fields inherited from class org.jpmml.python.BlockScope
EMPTY
-
-
Constructor Summary
Constructors Constructor Description FunctionDefScope(FunctionDef functionDef, java.util.List<? extends org.jpmml.converter.Feature> variables)FunctionDefScope(FunctionDef functionDef, 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 FunctionDefgetFunctionDef()intgetParameterIndex(java.lang.String name)org.jpmml.converter.FeatureresolveFeature(java.lang.String name)-
Methods inherited from class org.jpmml.python.BlockScope
getFeature, getFeature, getFeature, getVariables
-
Methods inherited from class org.jpmml.python.Scope
getEncoder
-
-
-
-
Constructor Detail
-
FunctionDefScope
public FunctionDefScope(FunctionDef functionDef, java.util.List<? extends org.jpmml.converter.Feature> variables)
-
FunctionDefScope
public FunctionDefScope(FunctionDef functionDef, java.util.List<? extends org.jpmml.converter.Feature> variables, org.jpmml.converter.PMMLEncoder encoder)
-
-
Method Detail
-
resolveFeature
public org.jpmml.converter.Feature resolveFeature(java.lang.String name)
- Specified by:
resolveFeaturein interfaceorg.jpmml.converter.FeatureResolver- Overrides:
resolveFeaturein classBlockScope
-
getParameterIndex
public int getParameterIndex(java.lang.String name)
-
getFunctionDef
public FunctionDef getFunctionDef()
-
-