C++ SDK Documentation
24.2.0
|
Public Member Functions | |
DefaultSourceIterator (std::vector< UDSource *> sources) | |
void | cancelUDX (ServerInterface &srvInterface) |
UnsizedUDSource * | createNextSource (ServerInterface &srvInterface) __override__ |
Create the next UDSource to process. More... | |
virtual void | destroy (ServerInterface &srvInterface, NodeSpecifyingPlanContext &planCtxt) |
Tear down this SourceIterator. More... | |
size_t | getNumberOfSources () __override__ |
indicate an upper bound for the number of sources this factory will produce. More... | |
size_t | getSizeOfSource (size_t sourceNum) __override__ |
bool | isCanceled () const |
virtual void | setup (ServerInterface &srvInterface, NodeSpecifyingPlanContext &planCtxt) |
Set up this SourceIterator. More... | |
Protected Member Functions | |
virtual void | cancel (ServerInterface &srvInterface) |
|
inlineprotectedvirtualinherited |
Cancel callback to be overridden by the UDX. Called when the query running the UDX has been canceled.
Referenced by Vertica::UDXObject::cancelUDX().
|
inlineinherited |
Cancel callback invoked when the query running the UDX has been canceled. See cancel().
|
inlinevirtual |
Create the next UDSource to process.
Should return NULL if no further sources are available for processing.
Note that the previous Source may still be open and in use on a different thread when this function is called.
Implements Vertica::SourceIterator.
|
inlinevirtualinherited |
Tear down this SourceIterator.
Should perform clean-up that should not take place in the destructor due to the exception-handling semantics of destructors.
|
inlinevirtual |
indicate an upper bound for the number of sources this factory will produce.
If this method returns N, then createNextSource() will be called at most N times ("at most" because it will stop being called when it returns NULL).
Implements Vertica::SourceIterator.
|
inlinevirtual |
vint_null
if the size is unknown.This value is used as a hint, and is used by the "load_streams" table to display load progress. If incorrect or not set, "load_streams" may contain incorrect or unhelpful information.
Reimplemented from Vertica::SourceIterator.
|
inlineinherited |
|
inlinevirtualinherited |
Set up this SourceIterator.
Should perform setup that should not take place in the constructor due to the exception-handling semantics of constructors