Package io.deephaven.integrations.learn
Class Output
java.lang.Object
io.deephaven.integrations.learn.Output
Output specifies how to scatter data from a Python object into a table column.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Output
Creates a new Output.- Parameters:
colName
- name of new column to store results.scatterFunc
- function to scatter the results of a Python object into the table column.type
- desired datatype of the new column.
-
Output
Creates a new Output.- Parameters:
colName
- name of new column to store results.scatterFunc
- function to scatter the results of a Python object into the table column.type
- desired datatype of the new column.
-
Output
public Output(String colName, boolean isPythonScatterFunc, Function<Object[], Object> scatterFunc, String type) Creates a new Output.- Parameters:
colName
- name of new column to store results.isPythonScatterFunc
- true if the scatter function is a Python function; false otherwise.scatterFunc
- function to scatter the results of a Python object into the table column.type
- desired datatype of the new column.
-
-
Method Details
-
getColName
Gets the output column name.- Returns:
- the output column name.
-
isPythonScatterFunc
public boolean isPythonScatterFunc()Is the scatter function a Python scatter function?- Returns:
- true if the scatter function is a Python scatter function; false otherwise.
-
getScatterFunc
Gets the scatter function.- Returns:
- the scatter function.
-
getType
Gets the type of the output column.- Returns:
- the output column datatype.
-
toString
-