Java SDK Documentation  12.0.3
com.vertica.sdk.ExecutorPlanContext Class Reference
Inheritance diagram for com.vertica.sdk.ExecutorPlanContext:
Inheritance graph
Collaboration diagram for com.vertica.sdk.ExecutorPlanContext:
Collaboration graph

Public Member Functions

 ExecutorPlanContext (ExecutorParamWriter writer, ArrayList< String > clusterNodes, ArrayList< String > targetNodes, boolean canApportionSource, int maxAllowedThreads)
 
 ExecutorPlanContext (ExecutorParamWriter writer, ArrayList< String > clusterNodes, ArrayList< String > targetNodes, boolean canApportionSource, int maxAllowedThreads, int actualThreads)
 
boolean canApportionSource ()
 
ArrayList< String > getClusterNodes ()
 
int getLoadConcurrency ()
 
int getMaxAllowedThreads ()
 
ParamReader getReader ()
 
SourceIterator getSources ()
 
ArrayList< String > getTargetNodes ()
 
ExecutorParamWriter getWriter ()
 
void setSources (SourceIterator sources)
 
void setTargetNodes (ArrayList< String > nodes) throws UdfException
 

Detailed Description

A PlanContext object whose scope is limited to a single executor node: it and its parameters will never be serialized. In addition to providing information about nodes involved in a query, it indicates how many threads are available and allocated for a load. This class is used for UDLs.

Member Function Documentation

ArrayList<String> com.vertica.sdk.PlanContext.getClusterNodes ( )
inherited
Returns
A list of all of the nodes in the current cluster, by node name
ParamReader com.vertica.sdk.PlanContext.getReader ( )
inherited
Returns
A read-only instance of the current context
ArrayList<String> com.vertica.sdk.NodeSpecifyingPlanContext.getTargetNodes ( )
inherited
Returns
The set of nodes that this query is currently set to run on
void com.vertica.sdk.NodeSpecifyingPlanContext.setTargetNodes ( ArrayList< String >  nodes) throws UdfException
inherited

Change the set of nodes that the query is intended to run on.

Parameters
nodesnew target nodes
Exceptions
UdfExceptionif any of the specified node names is not actually the name of any node in the cluster.