Vertica::PlanContext Class Reference

Inheritance diagram for Vertica::PlanContext:

Vertica::NodeSpecifyingPlanContext List of all members.

Public Member Functions

const std::vector< std::string > & getClusterNodes ()
ParamReader & getReader ()
ParamReader * getUDLParamReader ()
ParamWriter * getUDLParamWriter ()
ParamWriter & getWriter ()
 PlanContext (ParamWriter &writer)
 PlanContext (ParamWriter &writer, std::vector< std::string > clusterNodes)
 PlanContext (ParamWriter &writer, ParamWriter *udlWriter, std::vector< std::string > clusterNodes)

Detailed Description

Interface that allows storage of query-plan state, when different parts of query planning take place on different computers. For example, if some work is done on the query initiator node and some is done on each node executing the query.


Member Function Documentation

const std::vector<std::string>& Vertica::PlanContext::getClusterNodes (  )  [inline]

Get a list of all of the nodes in the current cluster, by node name

ParamReader& Vertica::PlanContext::getReader (  )  [inline]

Get a read-only instance of the current context

ParamReader* Vertica::PlanContext::getUDLParamReader (  )  [inline]

Get a read-only instance of the apportion load context

ParamWriter* Vertica::PlanContext::getUDLParamWriter (  )  [inline]

Get the current context for apportion load

ParamWriter& Vertica::PlanContext::getWriter (  )  [inline]

Get the current context for writing