![]() |
Java SDK Documentation
8.1
|
Interface for User-Defined Scalar Function (UDSF). A UDSF produces a single value from a row of data. More...
Classes | |
enum | InterfaceType |
Public Member Functions | |
void | destroy (ServerInterface srvInterface, SizedColumnTypes argTypes) |
void | destroy (ServerInterface srvInterface, SizedColumnTypes argTypes, SessionParamWriterMap udSessionParams) |
abstract void | processBlock (ServerInterface srvInterface, BlockReader arg_reader, BlockWriter res_writer) throws UdfException, DestroyInvocation |
void | setup (ServerInterface srvInterface, SizedColumnTypes argTypes) |
Protected Member Functions | |
InterfaceType | getInterfaceType () |
Interface for User-Defined Scalar Function (UDSF). A UDSF produces a single value from a row of data.
A UDSF can be used anywhere a native function can be used, except CREATE TABLE BY PARTITION and SEGMENTED BY expressions.
A ScalarFunction must have an associated ScalarFunctionFactory.
|
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
|
abstract |
Invoke a user defined function 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 |
arg_reader | input rows |
res_writer | output location |
|
inherited |
Perform per instance initialization. This function may throw errors.