|
using | ExecuteCallback = std::function< void(ExecutionResponse &&)> |
|
using | ExecuteJsonCallback = std::function< void(std::string &&)> |
|
|
| Session (int64_t sessionId, Connection &&conn, ConnectionPool *pool, const std::string &username, const std::string &password, const std::string &timezoneName, int32_t offsetSecs) |
|
| Session (const Session &)=delete |
|
| Session (Session &&session) |
|
void | operator= (Session &&session) |
|
ExecutionResponse | execute (const std::string &stmt) |
|
void | asyncExecute (const std::string &stmt, ExecuteCallback cb) |
|
ExecutionResponse | executeWithParameter (const std::string &stmt, const std::unordered_map< std::string, Value > ¶meters) |
|
void | asyncExecuteWithParameter (const std::string &stmt, const std::unordered_map< std::string, Value > ¶meters, ExecuteCallback cb) |
|
std::string | executeJson (const std::string &stmt) |
|
void | asyncExecuteJson (const std::string &stmt, ExecuteJsonCallback cb) |
|
std::string | executeJsonWithParameter (const std::string &stmt, const std::unordered_map< std::string, Value > ¶meters) |
|
void | asyncExecuteJsonWithParameter (const std::string &stmt, const std::unordered_map< std::string, Value > ¶meters, ExecuteJsonCallback cb) |
|
bool | ping () |
|
ErrorCode | retryConnect () |
|
void | release () |
|
bool | valid () const |
|
const std::string & | timeZoneName () const |
|
int32_t | timeZoneOffsetSecs () const |
|
void | toLocal (DataSet &data) |
|
|
static void | toLocal (DataSet &data, int32_t offsetSecs) |
|
Definition at line 16 of file Session.h.
The documentation for this class was generated from the following file: