C++ SDK Documentation  9.0
Vertica::UDXObjectCancelable Class Reference
Inheritance diagram for Vertica::UDXObjectCancelable:
Inheritance graph
Collaboration diagram for Vertica::UDXObjectCancelable:
Collaboration graph

Public Member Functions

virtual void cancel (ServerInterface &srvInterface)
 
virtual void destroy (ServerInterface &srvInterface, const SizedColumnTypes &argTypes)
 
virtual void destroy (ServerInterface &srvInterface, const SizedColumnTypes &argTypes, SessionParamWriterMap &udSessionParams)
 
bool isCanceled ()
 
virtual void setup (ServerInterface &srvInterface, const SizedColumnTypes &argTypes)
 

Protected Attributes

volatile bool canceled
 

Member Function Documentation

virtual void Vertica::UDXObjectCancelable::cancel ( ServerInterface srvInterface)
inlinevirtual

This function is invoked from a different thread when the execution is canceled This baseclass cancel should be called in any override.

virtual void Vertica::UDXObject::destroy ( ServerInterface srvInterface,
const SizedColumnTypes argTypes 
)
inlinevirtualinherited

Perform per instance destruction. This function may throw errors

virtual void Vertica::UDXObject::destroy ( ServerInterface srvInterface,
const SizedColumnTypes argTypes,
SessionParamWriterMap udSessionParams 
)
inlinevirtualinherited

Perform per instance destruction and write session parameters to be used by UDxs that are invoked after this one returns. This function may throw errors

bool Vertica::UDXObjectCancelable::isCanceled ( )
inline

Returns true if execution was canceled.

virtual void Vertica::UDXObject::setup ( ServerInterface srvInterface,
const SizedColumnTypes argTypes 
)
inlinevirtualinherited

Perform per instance initialization. This function may throw errors.