Inheritance diagram for Vertica::AnalyticFunctionFactory:

Public Types | |
| AGGREGATE | |
| ANALYTIC | |
| FILESYSTEM | |
| FUNCTION | |
| LOAD_FILTER | |
| LOAD_PARSER | |
| LOAD_SOURCE | |
| MULTI_TRANSFORM | |
| TRANSFORM | |
| TYPE | |
| enum | UDXType { FUNCTION, TRANSFORM, ANALYTIC, MULTI_TRANSFORM, AGGREGATE, LOAD_SOURCE, LOAD_FILTER, LOAD_PARSER, FILESYSTEM, TYPE } |
Public Member Functions | |
| virtual AnalyticFunction * | createAnalyticFunction (ServerInterface &srvInterface)=0 |
| virtual void | getParameterType (ServerInterface &srvInterface, SizedColumnTypes ¶meterTypes) |
| virtual void | getPerInstanceResources (ServerInterface &srvInterface, VResources &res) |
| virtual void | getPrototype (ServerInterface &srvInterface, ColumnTypes &argTypes, ColumnTypes &returnType)=0 |
| virtual void | getReturnType (ServerInterface &srvInterface, const SizedColumnTypes &argTypes, SizedColumnTypes &returnType)=0 |
Protected Member Functions | |
| virtual UDXType | getUDXFactoryType () |
Protected Attributes | |
| Oid | libOid |
| std::string | sqlName |
Friends | |
| class | ::UdfSupport |
enum Vertica::UDXFactory::UDXType [inherited] |
The type of UDX instance this factory produces
| virtual AnalyticFunction* Vertica::AnalyticFunctionFactory::createAnalyticFunction | ( | ServerInterface & | srvInterface | ) | [pure virtual] |
Called when Vertica needs a new AnalyticFunction object to process a function call.
| srvInterface | a ServerInterface object used to communicate with Vertica |
| virtual void Vertica::UDXFactory::getParameterType | ( | ServerInterface & | srvInterface, | |
| SizedColumnTypes & | parameterTypes | |||
| ) | [inline, virtual, inherited] |
| virtual void Vertica::UDXFactory::getPerInstanceResources | ( | ServerInterface & | srvInterface, | |
| VResources & | res | |||
| ) | [inline, virtual, inherited] |
Set the resource required for each instance of the UDX Object subclass
| srvInterface | a ServerInterface object used to communicate with Vertica | |
| res | a VResources object used to tell Vertica what resources are needed by the UDX |
| virtual void Vertica::UDXFactory::getPrototype | ( | ServerInterface & | srvInterface, | |
| ColumnTypes & | argTypes, | |||
| ColumnTypes & | returnType | |||
| ) | [pure virtual, inherited] |
Provides the argument and return types of the UDX
| virtual void Vertica::UDXFactory::getReturnType | ( | ServerInterface & | srvInterface, | |
| const SizedColumnTypes & | argTypes, | |||
| SizedColumnTypes & | returnType | |||
| ) | [pure virtual, inherited] |
Function to tell Vertica what the return types (and length/precision if necessary) of this UDX are.
For CHAR/VARCHAR types, specify the max length,
For NUMERIC types, specify the precision and scale.
For Time/Timestamp types (with or without time zone), specify the precision, -1 means unspecified/don't care
For IntervalYM/IntervalDS types, specify the precision and range
For all other types, no length/precision specification needed
| argTypes | Provides the data types of arguments that this UDT was called with. This may be used to modify the return types accordingly. | |
| returnType | User code must fill in the names and data types returned by the UDT. |
Implemented in Vertica::ScalarFunctionFactory.
| virtual UDXType Vertica::AnalyticFunctionFactory::getUDXFactoryType | ( | ) | [inline, protected, virtual] |