NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
#include <OperatorHandlerStore.hpp>
Public Member Functions | |
bool | contains (const SharedQueryId queryId, const DecomposedQueryId planId, const OperatorId operatorId) |
Check that storage contains operator handler by key. More... | |
Runtime::Execution::OperatorHandlerPtr | getOperatorHandler (const SharedQueryId queryId, const DecomposedQueryId planId, const OperatorId operatorId) |
Return operator handler that storage contains by key. More... | |
void | storeOperatorHandler (const SharedQueryId queryId, const DecomposedQueryId planId, const OperatorId operatorId, Runtime::Execution::OperatorHandlerPtr handler) |
Store operator handler to storage by key. More... | |
void | removeOperatorHandlers (const SharedQueryId queryId) |
Remove all operator handlers for query. More... | |
void | removeOperatorHandlers (const SharedQueryId queryId, const DecomposedQueryId planId) |
Remove all operator handlers for query and decomposed query plan. More... | |
Static Public Member Functions | |
static OperatorHandlerStorePtr | create () |
bool NES::OperatorHandlerStore::contains | ( | const SharedQueryId | queryId, |
const DecomposedQueryId | planId, | ||
const OperatorId | operatorId | ||
) |
Check that storage contains operator handler by key.
queryId | query id |
planId | decomposed query plan id |
operatorId | operator id |
|
static |
Referenced by NES::TestUtils::createTestQueryCompiler().
Runtime::Execution::OperatorHandlerPtr NES::OperatorHandlerStore::getOperatorHandler | ( | const SharedQueryId | queryId, |
const DecomposedQueryId | planId, | ||
const OperatorId | operatorId | ||
) |
Return operator handler that storage contains by key.
queryId | query id |
planId | decomposed query plan id |
operatorId | operator id |
void NES::OperatorHandlerStore::removeOperatorHandlers | ( | const SharedQueryId | queryId | ) |
Remove all operator handlers for query.
queryId | query id |
void NES::OperatorHandlerStore::removeOperatorHandlers | ( | const SharedQueryId | queryId, |
const DecomposedQueryId | planId | ||
) |
Remove all operator handlers for query and decomposed query plan.
queryId | query id |
planId | decomposed query plan id |
void NES::OperatorHandlerStore::storeOperatorHandler | ( | const SharedQueryId | queryId, |
const DecomposedQueryId | planId, | ||
const OperatorId | operatorId, | ||
Runtime::Execution::OperatorHandlerPtr | handler | ||
) |
Store operator handler to storage by key.
queryId | query id |
planId | decomposed query plan id |
operatorId | operator id |
handler | operator handler that needs to be stored |