Inheritance diagram for Vertica::ScalarFunction:

Public Member Functions | |
| virtual void | destroy (ServerInterface &srvInterface, const SizedColumnTypes &argTypes) |
| virtual void | getOutputRange (ServerInterface &srvInterface, ValueRangeReader &inRange, ValueRangeWriter &outRange) |
| virtual void | processBlock (ServerInterface &srvInterface, BlockReader &arg_reader, BlockWriter &res_writer)=0 |
| virtual void | setup (ServerInterface &srvInterface, const SizedColumnTypes &argTypes) |
Friends | |
| class | ::UdfSupport |
| virtual void Vertica::UDXObject::destroy | ( | ServerInterface & | srvInterface, | |
| const SizedColumnTypes & | argTypes | |||
| ) | [inline, virtual, inherited] |
Perform per instance destruction. This function may throw errors
| virtual void Vertica::ScalarFunction::getOutputRange | ( | ServerInterface & | srvInterface, | |
| ValueRangeReader & | inRange, | |||
| ValueRangeWriter & | outRange | |||
| ) | [inline, virtual] |
Invoke a user defined function to determine the output value range of this function. Ranges are represented by a minimum/maximum pair of values (inclusive). The developer is responsible to provide an output value range on the basis of the input argument ranges. Minimum/maximum values of ranges are of the same type as defined in the metadata class getPrototype() function.
| srvInterface | a ServerInterface object used to communicate with Vertica | |
| inRange | input value range | |
| outRange | output value range |
| virtual void Vertica::ScalarFunction::processBlock | ( | ServerInterface & | srvInterface, | |
| BlockReader & | arg_reader, | |||
| BlockWriter & | res_writer | |||
| ) | [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 |
| virtual void Vertica::UDXObject::setup | ( | ServerInterface & | srvInterface, | |
| const SizedColumnTypes & | argTypes | |||
| ) | [inline, virtual, inherited] |
Perform per instance initialization. This function may throw errors.