Java SDK Documentation  24.2.0
com.vertica.sdk.PlanContext Class Reference
Inheritance diagram for com.vertica.sdk.PlanContext:
Inheritance graph
Collaboration diagram for com.vertica.sdk.PlanContext:
Collaboration graph

Public Member Functions

 PlanContext (ParamWriter writer, ArrayList< String > clusterNodes)
 
 PlanContext (ParamWriter writer)
 
ArrayList< String > getClusterNodes ()
 
ParamReader getReader ()
 
ParamWriter getWriter ()
 

Detailed Description

Shared query-plan state, used when different parts of query planning take place on different nodes. For example, if some work is done on the query initiator node and some is done on each node executing the query, this class stores shared state.

Member Function Documentation

◆ getClusterNodes()

ArrayList<String> com.vertica.sdk.PlanContext.getClusterNodes ( )
Returns
A list of all of the nodes in the current cluster, by node name

Referenced by com.vertica.sdk.NodeSpecifyingPlanContext.setTargetNodes().

◆ getReader()

ParamReader com.vertica.sdk.PlanContext.getReader ( )
Returns
A read-only instance of the current context

◆ getWriter()

ParamWriter com.vertica.sdk.PlanContext.getWriter ( )
Returns
The current context for writing