|  | C++ SDK Documentation
    24.2.0
    | 
Contains the classes needed to write User-Defined things in Vertica. More...

| Classes | |
| struct | Vertica::LibraryRegistrar | 
| struct | Vertica::UDxRegistrar | 
| Namespaces | |
| Vertica | |
| Macros | |
| #define | InlineAggregate() | 
| #define | RegisterFactory(clazz) | 
| #define | RegisterLibrary(author, library_build_tag, library_version, library_sdk_version, source_url, description, licenses_required, signature) Vertica::LibraryRegistrar registrar(author, library_build_tag, library_version, library_sdk_version, source_url, description, licenses_required, signature) | 
Contains the classes needed to write User-Defined things in Vertica.
| #define InlineAggregate | ( | ) | 
InlineAggregate() is used to implement the virtual function "aggregateArrs()" for AggregateFunctions. This allows aggregate functions to work on blocks at a time. This macro should be called from inside an AggregateFunction - for a reference, check the examples in the example folder.
| #define RegisterFactory | ( | clazz | ) | 
| class | The name of the class to register as a UDx factory. Helper macro for registering UDx's with Vertica | 
To use: Extend a subclass of UDXFactory (e.g. ScalarFunctionFactory) and then call RegisterFactory with that class name.
For example:
... class MyFactory : public ScalarFunctionFactory ...