Class Context¶
Defined in File Context.h
Class Documentation¶
-
class
blazingdb::manager
::
Context
¶ This is the main component of the transport library.
Manage and group the Node ‘s (task nodes) to be used by an specific query.
Public Functions
-
explicit
Context
(const uint32_t token, const std::vector<Node> &taskNodes, const Node &masterNode, const std::string &logicalPlan, const std::map<std::string, std::string> &config_options, const std::string current_timestamp)¶
-
int
getTotalNodes
() const¶
-
const Node &
getMasterNode
() const¶ A single unique RAL instance that helps to the messages transmition and processesing between worker RAL’s e.g.: see SampleToNodeMasterMessage
-
std::string
getLogicalPlan
() const¶ - Deprecated:
: not used anymore
-
std::string
getCurrentTimestamp
() const¶
-
uint32_t
getContextToken
() const¶
-
std::string
getContextCommunicationToken
() const¶
-
void
incrementQueryStep
()¶
-
void
incrementQuerySubstep
()¶
-
inline uint32_t
getQueryStep
() const¶
-
inline uint32_t
getQuerySubstep
() const¶
-
inline void
setKernelId
(uint32_t kernel_id)¶
-
inline uint32_t
getKernelId
() const¶
-
inline std::map<std::string, std::string>
getConfigOptions
() const¶
-
explicit