Package org.jpmml.python
Class PythonObject
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,Object>
-
- net.razorvine.pickle.objects.ClassDict
-
- org.jpmml.python.PythonObject
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
- Direct Known Subclasses:
BSpline,CategoricalDtype,CSRMatrix,CustomPythonObject,DataFrame,ExtensionDtype,Function,Index.Data,MaskedArray,NamedTuple,NDArrayWrapper,Node,NumpyArrayWrapper,PythonEnum,Series,Tree,Type
public abstract class PythonObject extends net.razorvine.pickle.objects.ClassDict- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description PythonObject(String module, String name)
-
Method Summary
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Method Detail
-
getPythonModule
public String getPythonModule()
-
getPythonName
public String getPythonName()
-
getClassName
public String getClassName()
- Overrides:
getClassNamein classnet.razorvine.pickle.objects.ClassDict
-
setClassName
public void setClassName(String className)
-
getArrayShape
public int[] getArrayShape(String name)
-
getArrayShape
public int[] getArrayShape(String name, int length)
-
getPythonObject
public <E extends PythonObject> E getPythonObject(String name, E object)
-
-