Inheritance diagram for com.vertica.sdk.ScalarFunction:

Public Member Functions | |
| void | destroy (ServerInterface srvInterface, SizedColumnTypes argTypes) |
| abstract void | processBlock (ServerInterface srvInterface, BlockReader arg_reader, BlockWriter res_writer) throws UdfException, DestroyInvocation |
| void | setup (ServerInterface srvInterface, SizedColumnTypes argTypes) |
Protected Types | |
| FunctionT | |
| enum | InterfaceType { FunctionT, IndexListFunctionT } |
Protected Member Functions | |
| InterfaceType | getInterfaceType () |
| void com.vertica.sdk.UDXObject.destroy | ( | ServerInterface | srvInterface, | |
| SizedColumnTypes | argTypes | |||
| ) | [inherited] |
Perform per instance destruction. This function may throw errors
| abstract void com.vertica.sdk.ScalarFunction.processBlock | ( | ServerInterface | srvInterface, | |
| BlockReader | arg_reader, | |||
| BlockWriter | res_writer | |||
| ) | throws UdfException, DestroyInvocation [pure virtual] |
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 |
| void com.vertica.sdk.UDXObject.setup | ( | ServerInterface | srvInterface, | |
| SizedColumnTypes | argTypes | |||
| ) | [inherited] |
Perform per instance initialization. This function may throw errors.