Package io.deephaven.integrations.python
Class PythonFunction<T,R>
java.lang.Object
io.deephaven.integrations.python.PythonFunction<T,R>
- Type Parameters:
T- input argument class
- All Implemented Interfaces:
Function<T,R>
- Direct Known Subclasses:
PythonFunction.PythonUnaryOperator
A
Function implementation which calls a Python callable.-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPythonFunction(org.jpy.PyObject pyCallable, Class<R> classOut) Creates aFunctionwhich calls a Python function. -
Method Summary
-
Constructor Details
-
PythonFunction
Creates aFunctionwhich calls a Python function.- Parameters:
pyCallable- The python object providing the function - must either be callable or have anapplyattribute which is callable.classOut- The specific Java class expected to be returned by theapply(Object)method. This should be the result of converting or unwrapping the output ofpyCallable.
-
-
Method Details