![]() |
Java SDK Documentation
8.1
|
Interface for User-Defined Transform Function (UDTF). A UDTF operates on a table segment and returns zero or more rows of data. More...
Public Member Functions | |
void | cancel (ServerInterface srvInterface) |
void | destroy (ServerInterface srvInterface, SizedColumnTypes argTypes) |
void | destroy (ServerInterface srvInterface, SizedColumnTypes argTypes, SessionParamWriterMap udSessionParams) |
boolean | isCanceled () |
abstract void | processPartition (ServerInterface srvInterface, PartitionReader input_reader, PartitionWriter input_writer) throws UdfException, DestroyInvocation |
void | setup (ServerInterface srvInterface, SizedColumnTypes argTypes) |
Interface for User-Defined Transform Function (UDTF). A UDTF operates on a table segment and returns zero or more rows of data.
UDTFs can only be used in the SELECT list of a query. UDTFs are cancelable.
A TransformFunction must have an associated TransformFunctionFactory.
|
inherited |
This function is invoked from a different thread when the execution is canceled This baseclass cancel should be called in any override.
|
inherited |
Perform per instance destruction. This function may throw errors
Referenced by com.vertica.sdk.UDXObject.destroy().
|
inherited |
Perform per instance destruction and write session parameters to be used by UDxs that are invoked after this one returns. This function may throw errors
|
inherited |
Returns true if execution was canceled.
|
abstract |
Invoke a user defined transform on a set of rows. As the name suggests, a batch of rows are passed in for every invocation to amortize performance.
srvInterface | a ServerInterface object used to communicate with Vertica |
input_reader | input rows |
output_writer | output location |
|
inherited |
Perform per instance initialization. This function may throw errors.