Class QuerySessionStatus

class QuerySessionStatus

Public Types

enum QueryStatus

Values:

UNDEFINED = 0
PENDING_QUEUE
PENDING_EXECUTOR
RUNNING_QUERY_KERNEL
RUNNING_REDUCTION
RUNNING_IMPORTER

Public Functions

QuerySessionStatus(const QuerySessionId &query_session, const std::string &query_str, const std::string &submitted_time)
QuerySessionStatus(const QuerySessionId &query_session, const size_t executor_id, const std::string &query_str, const std::string &submitted_time)
QuerySessionStatus(const QuerySessionId &query_session, const size_t executor_id, const std::string &query_str, const std::string &submitted_time, const QuerySessionStatus::QueryStatus &query_status)
const QuerySessionId getQuerySession()
const std::string getQueryStr()
const size_t getExecutorId()
const std::string &getQuerySubmittedTime()
const QuerySessionStatus::QueryStatus getQueryStatus()
void setQueryStatus(const QuerySessionStatus::QueryStatus &status)
void setExecutorId(const size_t executor_id)

Private Members

const QuerySessionId query_session_
size_t executor_id_
const std::string query_str_
const std::string submitted_time_
QuerySessionStatus::QueryStatus query_status_