Java SDK Documentation
12.0.0
|
Public Member Functions | |
DefaultSourceIterator (ArrayList< UDSource > sources) | |
final void | cancelUDX (ServerInterface srvInterface) |
UnsizedUDSource | createNextSource (ServerInterface srvInterface) |
void | destroy (ServerInterface srvInterface, NodeSpecifyingPlanContext planCtxt) throws UdfException |
int | getNumberOfSources () |
Integer | getSizeOfSource (int sourceNum) |
boolean | isCanceled () |
void | setup (ServerInterface srvInterface, NodeSpecifyingPlanContext planCtxt) throws UdfException |
Protected Member Functions | |
void | cancel (ServerInterface srvInterface) |
|
protectedinherited |
Cancel callback to be overridden by the UDX implementation. Called when the query running the UDX has been canceled.
srvInterface | a ServerInterface object used to communicate with Vertica |
Referenced by com.vertica.sdk.UDXObject.cancelUDX().
|
inherited |
Cancel callback invoked when the query running the UDX has been canceled.
See cancel().
srvInterface | a ServerInterface object used to communicate with Vertica |
|
virtual |
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.
srvInterface | a ServerInterface object used to communicate with Vertica |
UdfException | UDF problem |
Implements com.vertica.sdk.SourceIterator.
|
inherited |
Tear down this SourceIterator
Should perform clean-up
srvInterface | a ServerInterface object used to communicate with Vertica |
planCtxt | a plan context |
UdfException | UDF problem |
|
virtual |
UdfException | UDF problem |
Implements com.vertica.sdk.SourceIterator.
|
inherited |
Referenced by com.vertica.sdk.UDXObject.cancelUDX().
|
inherited |
Set up this SourceIterator
Should perform setup that should not take place in the constructor due to the exception-handling semantics of constructors
srvInterface | a ServerInterface object used to communicate with Vertica |
planCtxt | a plan context |
UdfException | UDF problem |