Remote client to deploy queryIdAndCatalogEntryMapping over the REST API.
More...
#include <RemoteClient.hpp>
Remote client to deploy queryIdAndCatalogEntryMapping over the REST API.
◆ RemoteClient()
NES::Client::RemoteClient::RemoteClient |
( |
const std::string & |
coordinatorHost = "127.0.0.1" , |
|
|
uint16_t |
coordinatorPort = 8081 , |
|
|
std::chrono::seconds |
requestTimeout = std::chrono::seconds(20) , |
|
|
bool |
disableLogging = false |
|
) |
| |
|
explicit |
◆ addLogicalSource()
bool NES::Client::RemoteClient::addLogicalSource |
( |
const SchemaPtr |
schema, |
|
|
const std::string & |
sourceName |
|
) |
| |
add a logical source
- Parameters
-
SchemaPtr | schema of the new logical source |
string | name of the new logical source |
- Returns
- successfully added
References NES_DEBUG.
◆ getLogicalSources()
std::string NES::Client::RemoteClient::getLogicalSources |
( |
| ) |
|
get logical sources
- Returns
- logical sources
References NES_DEBUG.
◆ getPhysicalSources()
std::string NES::Client::RemoteClient::getPhysicalSources |
( |
std::string |
logicalSourceName | ) |
|
◆ getQueries() [1/2]
std::string NES::Client::RemoteClient::getQueries |
( |
| ) |
|
get all registered queryIdAndCatalogEntryMapping
- Returns
- query information
References NES_DEBUG.
◆ getQueries() [2/2]
std::string NES::Client::RemoteClient::getQueries |
( |
QueryState |
status | ) |
|
get all registered queryIdAndCatalogEntryMapping in the given status
- Parameters
-
QueryStatus | query status, i.e. registered |
- Returns
- query information
References magic_enum::enum_name().
◆ getQueryExecutionPlan()
std::string NES::Client::RemoteClient::getQueryExecutionPlan |
( |
QueryId |
queryId | ) |
|
◆ getQueryPlan()
std::string NES::Client::RemoteClient::getQueryPlan |
( |
QueryId |
queryId | ) |
|
◆ getQueryStatus()
std::string NES::Client::RemoteClient::getQueryStatus |
( |
QueryId |
queryId | ) |
|
◆ getTopology()
std::string NES::Client::RemoteClient::getTopology |
( |
| ) |
|
get current topology
- Returns
- topology
References NES_DEBUG.
◆ stopQuery()
◆ submitQuery()
◆ testConnection()
bool NES::Client::RemoteClient::testConnection |
( |
| ) |
|
test if a connection to the coordinator can be established
- Returns
- connection test successful
References NES_DEBUG.
The documentation for this class was generated from the following files: