Vertica::PlanContext Class Reference

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.

Inheritance diagram for Vertica::PlanContext:

Collaboration diagram for Vertica::PlanContext:

Public Member Functions
PlanContext (ParamWriter &writer)
PlanContext (ParamWriter &writer, std::vector clusterNodes)
const std::vector & getClusterNodes ()
virtual ParamReader & getReader ()
virtual 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()

const std::vector& Vertica::PlanContext::getClusterNodes()

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

Referenced by Vertica::NodeSpecifyingPlanContext::setTargetNodes().

getReader()

virtual ParamReader& Vertica::PlanContext::getReader()

inlinevirtual

Get a read-only instance of the current context

getWriter()

virtual ParamWriter& Vertica::PlanContext::getWriter()

inlinevirtual

Get the current context for writing

Reimplemented in Vertica::ExecutorPlanContext.

Referenced by Vertica::ExecutorPlanContext::getWriter().