Base class for Vertica User-Defined extensions (the function classes themselves). Not intended for direct use by applications.
More...
Base class for Vertica User-Defined extensions (the function classes themselves). Not intended for direct use by applications.
virtual Vertica::UDXObject::~UDXObject |
( |
| ) |
|
|
inlinevirtual |
Destructors MAY NOT throw errors / exceptions. Exceptions thrown during the destructor will be ignored.
Cancel callback to be overridden by the UDX. Called when the query running the UDX has been canceled.
- Note
- This method will be invoked at most once per UDX object. Once a UDX object has been canceled, it will never be un-canceled.
- This method may be called from a separate thread, concurrently with other methods of this UDX object (but never the constructor or destructor). Implementations must be thread-safe with all methods of this UDX.
- This method will be invoked for either an explicit user cancel, or in the event of an error during query execution.
Referenced by cancelUDX().
Cancel callback invoked when the query running the UDX has been canceled. See cancel().
bool Vertica::UDXObject::isCanceled |
( |
| ) |
const |
|
inline |
- Returns
- true iff this UDX has been canceled