|
NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
class representing the placement amendment instance More...
#include <PlacementAmendmentInstance.hpp>
Public Member Functions | |
| PlacementAmendmentInstance (SharedQueryPlanPtr sharedQueryPlan, Optimizer::GlobalExecutionPlanPtr globalExecutionPlan, TopologyPtr topology, TypeInferencePhasePtr typeInferencePhase, Configurations::CoordinatorConfigurationPtr coordinatorConfiguration, DeploymentPhasePtr deploymentPhase) | |
| std::future< bool > | getFuture () |
| Get promise to check if the amendment instance was processed. More... | |
| void | setPromise (bool promise) |
Static Public Member Functions | |
| static PlacementAmendmentInstancePtr | create (SharedQueryPlanPtr sharedQueryPlan, Optimizer::GlobalExecutionPlanPtr globalExecutionPlan, TopologyPtr topology, TypeInferencePhasePtr typeInferencePhase, Configurations::CoordinatorConfigurationPtr coordinatorConfiguration, DeploymentPhasePtr deploymentPhase) |
Protected Member Functions | |
| void | execute () |
| Perform the placement amendment. More... | |
class representing the placement amendment instance
| NES::Optimizer::PlacementAmendmentInstance::PlacementAmendmentInstance | ( | SharedQueryPlanPtr | sharedQueryPlan, |
| Optimizer::GlobalExecutionPlanPtr | globalExecutionPlan, | ||
| TopologyPtr | topology, | ||
| TypeInferencePhasePtr | typeInferencePhase, | ||
| Configurations::CoordinatorConfigurationPtr | coordinatorConfiguration, | ||
| DeploymentPhasePtr | deploymentPhase | ||
| ) |
|
static |
Create placement amendment instance
| sharedQueryPlan | |
| globalExecutionPlan | |
| topology | |
| typeInferencePhase | |
| coordinatorConfiguration | |
| deploymentPhase |
Referenced by NES::RequestProcessor::ISQPRequest::executeRequestLogic(), NES::RequestProcessor::StopQueryRequest::executeRequestLogic(), NES::RequestProcessor::AddQueryRequest::executeRequestLogic(), and NES::RequestProcessor::FailQueryRequest::executeRequestLogic().
|
protected |
Perform the placement amendment.
References NES::AddQuery, NES::ReconfigurationMarker::create(), NES::CREATED, NES::DEPLOYED, magic_enum::enum_name(), NES::FAILED, NES::FailQuery, NES::MARKED_FOR_DEPLOYMENT, NES::MARKED_FOR_MIGRATION, NES::MARKED_FOR_REDEPLOYMENT, NES::MARKED_FOR_UPDATE_AND_DRAIN, NES::MIGRATING, NES_DEBUG, NES_ERROR, NES_WARNING, NES::PARTIALLY_PROCESSED, NES::PROCESSED, NES::RestartQuery, NES::RUNNING, NES::STOPPED, NES::StopQuery, and NES::UPDATED.
| std::future< bool > NES::Optimizer::PlacementAmendmentInstance::getFuture | ( | ) |
Get promise to check if the amendment instance was processed.
| void NES::Optimizer::PlacementAmendmentInstance::setPromise | ( | bool | promise | ) |