The API of HQL interpreter. More...
#include <HqlInterpreter.h>

Classes | |
| struct | Callback |
| Callback interface/base class for execute. More... | |
| struct | SmallCallback |
| An example for simple queries that returns small number of results. More... | |
Public Member Functions | |
| HqlInterpreter (Client *client, ConnectionManagerPtr &conn_mgr, bool immutable_namespace=true) | |
| Construct from hypertable client. More... | |
| int | execute (const std::string &str, Callback &) |
| The main interface for the interpreter. More... | |
| int | execute (const std::string &str, CellsBuilder &output, std::vector< String > &ret) |
| A convenient method demonstrate the usage of the interface. More... | |
| int | execute (const std::string &cmd) |
| More convenient method for admin commands (create/drop table etc.) More... | |
| void | set_namespace (const std::string &ns) |
Private Attributes | |
| Client * | m_client |
| NamespacePtr | m_namespace |
| uint32_t | m_mutator_flags |
| ConnectionManagerPtr | m_conn_manager |
| FsBroker::Lib::ClientPtr | m_fs_client |
| bool | m_immutable_namespace |
The API of HQL interpreter.
Definition at line 47 of file HqlInterpreter.h.
| HqlInterpreter::HqlInterpreter | ( | Client * | client, |
| ConnectionManagerPtr & | conn_mgr, | ||
| bool | immutable_namespace = true |
||
| ) |
Construct from hypertable client.
Definition at line 954 of file HqlInterpreter.cc.
| int HqlInterpreter::execute | ( | const std::string & | str, |
| Callback & | cb | ||
| ) |
The main interface for the interpreter.
Definition at line 969 of file HqlInterpreter.cc.
|
inline |
A convenient method demonstrate the usage of the interface.
Definition at line 129 of file HqlInterpreter.h.
|
inline |
More convenient method for admin commands (create/drop table etc.)
Definition at line 135 of file HqlInterpreter.h.
| void HqlInterpreter::set_namespace | ( | const std::string & | ns | ) |
Definition at line 962 of file HqlInterpreter.cc.
|
private |
Definition at line 144 of file HqlInterpreter.h.
|
private |
Definition at line 147 of file HqlInterpreter.h.
|
private |
Definition at line 148 of file HqlInterpreter.h.
|
private |
Definition at line 149 of file HqlInterpreter.h.
|
private |
Definition at line 146 of file HqlInterpreter.h.
|
private |
Definition at line 145 of file HqlInterpreter.h.
1.8.8