#include <NesCoordinator.hpp>
◆ NesCoordinator()
◆ ~NesCoordinator()
NES::NesCoordinator::~NesCoordinator |
( |
| ) |
|
|
override |
◆ getGlobalExecutionPlan()
getter for the global execution plan
- Returns
◆ getGlobalQueryPlan()
Get the instance of Global Query Plan.
- Returns
- Global query plan
◆ getLocationService()
getter for the locationService
- Returns
◆ getMonitoringService()
Get instance of monitoring service.
- Returns
- monitoring service pointer
◆ getNesWorker()
◆ getNodeEngine()
◆ getQueryCatalog()
Get instance of query catalog.
- Returns
- query catalog pointer
◆ getQueryStatistics()
method to return the query statistics
- Parameters
-
- Returns
- vector of queryStatistics
References NES_INFO.
◆ getRequestHandlerService()
Get the instance of query service.
- Returns
- Query service pointer
◆ getSourceCatalog()
catalog method for debug use only
- Returns
- sourceCatalog
◆ getStatisticProbeHandler()
◆ getTopology()
get topology of coordinator
- Returns
- topology
◆ getUDFCatalog()
Return the UDF catalog.
- Returns
- Pointer to the UDF catalog.
◆ isCoordinatorRunning()
bool NES::NesCoordinator::isCoordinatorRunning |
( |
| ) |
|
Method to check if a coordinator is still running.
- Returns
- running status of the coordinator
◆ onFatalError()
void NES::NesCoordinator::onFatalError |
( |
int |
signalNumber, |
|
|
std::string |
|
|
) |
| |
|
overridevirtual |
onFatalError shall be called when a signal is caught
- Parameters
-
signalNumber | the caught signal |
stacktrace | the stacktrace of the error |
Implements NES::Exceptions::ErrorListener.
◆ onFatalException()
void NES::NesCoordinator::onFatalException |
( |
std::shared_ptr< std::exception > |
, |
|
|
std::string |
|
|
) |
| |
|
overridevirtual |
onFatalException shall be called when an exception is caught
- Parameters
-
exception | the caught exception |
stacktrace | the stacktrace of the error |
Implements NES::Exceptions::ErrorListener.
◆ startCoordinator()
uint64_t NES::NesCoordinator::startCoordinator |
( |
bool |
blocking | ) |
|
start rpc server: rest server, and one worker <
- Parameters
-
bool | if the method should block |
blocking
withConnect
References NES::Schema::createFromSchemaType(), NES::Exceptions::installGlobalErrorListener(), backward::details::move(), NES_ASSERT, NES_ASSERT2_FMT, NES_DEBUG, NES_INFO, NES_THROW_RUNTIME_ERROR, NES::setThreadName(), and NES::detail::virtual_enable_shared_from_this< NesCoordinator >::weak_from_this().
◆ stopCoordinator()
bool NES::NesCoordinator::stopCoordinator |
( |
bool |
force | ) |
|
◆ NES_COORDINATOR_ID
constexpr static uint64_t NES::NesCoordinator::NES_COORDINATOR_ID = 1 |
|
staticconstexpr |
The documentation for this class was generated from the following files: