NCBI C++ ToolKit
|
Search Toolkit Book for CCassQuery
#include <objtools/pubseq_gateway/impl/cassandra/cass_driver.hpp>
Classes | |
class | CNotImplemented |
Public Member Functions | |
virtual | ~CCassQuery () |
virtual void | Close (void) |
void | SetTimeout () |
CCassQuery. More... | |
void | SetTimeout (unsigned int t) |
unsigned int | Timeout (void) const |
void | UsePerRequestTimeout (bool value) |
unsigned int | GetRequestTimeoutMs () const |
bool | IsReady (void) |
void | NewBatch (void) |
async_rslt_t | RunBatch () |
void | SetSQL (const string &sql, unsigned int PrmCount) |
void | SetHost (const string &hostname) |
void | Query (TCassConsistency c=CCassConsistency::kLocalQuorum, bool run_async=false, bool allow_prepare=true, unsigned int page_size=DEFAULT_PAGE_SIZE) |
void | RestartQuery (TCassConsistency c=CCassConsistency::kLocalQuorum) |
void | Execute (TCassConsistency c=CCassConsistency::kLocalQuorum, bool run_async=false, bool allow_prepare=true) |
void | RestartExecute (TCassConsistency c=CCassConsistency::kLocalQuorum) |
void | Restart (TCassConsistency c=CCassConsistency::kLocalQuorum) |
void | SetSerialConsistency (TCassConsistency c) |
bool | IsActive (void) const |
virtual async_rslt_t | WaitAsync (unsigned int timeoutmks) |
string | GetSQL () const |
virtual string | ToString (void) const |
virtual bool | IsEOF (void) const |
virtual bool | IsAsync (void) const |
void | BindNull (int iprm) |
void | BindInt8 (int iprm, int8_t value) |
void | BindInt16 (int iprm, int16_t value) |
void | BindInt32 (int iprm, int32_t value) |
void | BindInt64 (int iprm, int64_t value) |
void | BindStr (int iprm, const string &value) |
void | BindStr (int iprm, const char *value) |
void | BindBytes (int iprm, const unsigned char *buf, size_t len) |
void | BindDate (int iprm, int64_t value) |
template<typename K , typename V > | |
void | BindMap (int iprm, const map< K, V > &value) |
template<typename I > | |
void | BindList (int iprm, I begin, I end, size_t sz) |
template<typename I > | |
void | BindSet (int iprm, I begin, I end, size_t sz) |
template<typename I > | |
void | BindSet (int iprm, const set< I > &v) |
template<typename ... T> | |
void | BindTuple (int iprm, const tuple< T... > &value) |
size_t | ParamCount (void) const |
CassValueType | ParamType (int iprm) const |
int32_t | ParamAsInt32 (int iprm) |
int64_t | ParamAsInt64 (int iprm) |
string | ParamAsStr (int iprm) const |
void | ParamAsStr (int iprm, string &value) const |
string | ParamAsStrForDebug (int iprm) const |
async_rslt_t | NextRow () |
template<typename F = int> | |
bool | FieldIsNull (F ifld) const |
template<typename F = int> | |
CCassDataType | FieldType (F ifld) const |
template<typename F = int> | |
bool | FieldGetBoolValue (F ifld) const |
template<typename F = int> | |
bool | FieldGetBoolValue (F ifld, bool _default) const |
template<typename F = int> | |
int8_t | FieldGetInt8Value (F ifld) const |
template<typename F = int> | |
int8_t | FieldGetInt8Value (F ifld, int8_t _default) const |
template<typename F = int> | |
int16_t | FieldGetInt16Value (F ifld) const |
template<typename F = int> | |
int16_t | FieldGetInt16Value (F ifld, int16_t _default) const |
template<typename F = int> | |
int32_t | FieldGetInt32Value (F ifld) const |
template<typename F = int> | |
int32_t | FieldGetInt32Value (F ifld, int32_t _default) const |
template<typename F = int> | |
int64_t | FieldGetInt64Value (F ifld) const |
template<typename F = int> | |
int64_t | FieldGetInt64Value (F ifld, int64_t _default) const |
template<typename F = int> | |
double | FieldGetFloatValue (F ifld) const |
template<typename F = int> | |
double | FieldGetFloatValue (F ifld, double _default) const |
template<typename F = int> | |
string | FieldGetStrValue (F ifld) const |
template<typename F = int> | |
string | FieldGetStrValueDef (F ifld, const string &_default) const |
template<typename I , typename F = int> | |
void | FieldGetContainerValue (F ifld, I insert_iterator) const |
template<typename F = int> | |
void | FieldGetStrValue (F ifld, string &value) const |
template<typename F = int> | |
void | FieldGetStrValueDef (F ifld, string &value, const string &_default) const |
template<typename T , typename F = int> | |
T | FieldGetTupleValue (F ifld) const |
template<typename T , typename F = int> | |
void | FieldGetSetValues (F ifld, std::vector< T > &values) const |
template<typename T , typename F = int> | |
void | FieldGetSetValues (F ifld, std::set< T > &values) const |
template<typename K , typename V , typename F = int> | |
void | FieldGetMapValue (F ifld, map< K, V > &result) const |
template<typename F = int> | |
size_t | FieldGetBlobValue (F ifld, unsigned char *buf, size_t len) const |
template<typename F = int> | |
size_t | FieldGetBlobRaw (F ifld, const unsigned char **rawbuf) const |
template<typename F = int> | |
size_t | FieldGetBlobSize (F ifld) const |
shared_ptr< CCassConnection > | GetConnection (void) |
void | SetOnData3 (shared_ptr< CCassDataCallbackReceiver > cb) |
void | SetOnExecute (void(*Cb)(CCassQuery &, void *), void *Data) |
template<> | |
const CassValue * | GetColumn (int ifld) const |
template<> | |
const CassValue * | GetColumn (const string &name) const |
template<> | |
const CassValue * | GetColumn (const char *name) const |
template<> | |
string | GetColumnDef (int ifld) const |
template<> | |
string | GetColumnDef (const string &name) const |
template<> | |
string | GetColumnDef (const char *name) const |
Static Public Attributes | |
static const unsigned int | DEFAULT_PAGE_SIZE = 4096 |
Protected Member Functions | |
CCassQuery (const shared_ptr< CCassConnection > &connection) | |
Private Member Functions | |
CCassQuery (const CCassQuery &)=delete | |
CCassQuery & | operator= (const CCassQuery &)=delete |
void | CheckParamAssigned (int iprm) const |
void | CheckParamExists (int iprm) const |
async_rslt_t | Wait (unsigned int timeoutmks) |
void | Bind (void) |
template<typename F > | |
const CassValue * | GetColumn (F ifld) const |
template<typename F > | |
string | GetColumnDef (F ifld) const |
void | GetFuture () |
void | ProcessFutureResult () |
void | SetupOnDataCallback () |
void | InternalClose (bool closebatch) |
void | SetEOF (bool Value) |
Private Attributes | |
shared_ptr< CCassConnection > | m_connection |
unsigned int | m_qtimeoutms |
bool | m_use_per_request_timeout {false} |
int64_t | m_futuretime |
CassFuture * | m_future |
CassBatch * | m_batch |
CassStatement * | m_statement |
const CassResult * | m_result |
CassIterator * | m_iterator |
const CassRow * | m_row |
unsigned int | m_page_size |
bool | m_EOF |
bool | m_page_start |
CCassParams | m_params |
string | m_sql |
bool | m_results_expected |
bool | m_async |
bool | m_allow_prepare |
bool | m_is_prepared |
TCassConsistency | m_serial_consistency |
shared_ptr< CCassQueryCbRef > | m_cb_ref |
weak_ptr< CCassDataCallbackReceiver > | m_ondata3 |
TCassQueryOnExecuteCallback | m_onexecute |
void * | m_onexecute_data |
string | m_execution_host |
Friends | |
class | CCassConnection |
class | CCassQueryCbRef |
Definition at line 775 of file cass_driver.hpp.
|
privatedelete |
|
inlineexplicitprotected |
Definition at line 860 of file cass_driver.hpp.
References eFatal, m_connection, and RAISE_DB_ERROR.
|
virtual |
Definition at line 1203 of file cass_driver.cpp.
References Close(), and m_onexecute_data.
|
private |
Definition at line 1267 of file cass_driver.cpp.
References cnt, m_params, m_statement, and RAISE_DB_ERROR.
Definition at line 1326 of file cass_driver.cpp.
References buf, CheckParamExists(), len, and m_params.
Definition at line 1332 of file cass_driver.cpp.
References CheckParamExists(), m_params, and rapidjson::value.
Definition at line 1292 of file cass_driver.cpp.
References CheckParamExists(), m_params, and rapidjson::value.
Definition at line 1298 of file cass_driver.cpp.
References CheckParamExists(), m_params, and rapidjson::value.
Definition at line 1305 of file cass_driver.cpp.
References CheckParamExists(), m_params, and rapidjson::value.
Definition at line 1286 of file cass_driver.cpp.
References CheckParamExists(), m_params, and rapidjson::value.
|
inline |
Definition at line 957 of file cass_driver.hpp.
References CheckParamExists(), and m_params.
|
inline |
Definition at line 950 of file cass_driver.hpp.
References CheckParamExists(), m_params, and rapidjson::value.
void CCassQuery::BindNull | ( | int | iprm | ) |
Definition at line 1280 of file cass_driver.cpp.
References CheckParamExists(), and m_params.
Definition at line 971 of file cass_driver.hpp.
References set< Key, Compare >::begin(), BindSet(), set< Key, Compare >::end(), and set< Key, Compare >::size().
|
inline |
Definition at line 964 of file cass_driver.hpp.
References CheckParamExists(), and m_params.
Referenced by BindSet().
Definition at line 1319 of file cass_driver.cpp.
References CheckParamExists(), m_params, and rapidjson::value.
Definition at line 1312 of file cass_driver.cpp.
References CheckParamExists(), m_params, and rapidjson::value.
|
inline |
Definition at line 977 of file cass_driver.hpp.
References CheckParamExists(), m_params, and rapidjson::value.
|
inlineprivate |
Definition at line 785 of file cass_driver.hpp.
References m_params, and RAISE_DB_ERROR.
Referenced by ParamAsInt32(), ParamAsInt64(), ParamAsStr(), ParamAsStrForDebug(), and ParamType().
|
inlineprivate |
Definition at line 795 of file cass_driver.hpp.
References m_params, and RAISE_DB_ERROR.
Referenced by BindBytes(), BindDate(), BindInt16(), BindInt32(), BindInt64(), BindInt8(), BindList(), BindMap(), BindNull(), BindSet(), BindStr(), and BindTuple().
|
virtual |
Definition at line 1198 of file cass_driver.cpp.
References InternalClose().
Referenced by Query(), RestartExecute(), RestartQuery(), and ~CCassQuery().
void CCassQuery::Execute | ( | TCassConsistency | c = CCassConsistency::kLocalQuorum , |
bool | run_async = false , |
||
bool | allow_prepare = true |
||
) |
Definition at line 1511 of file cass_driver.cpp.
References Bind(), GetFuture(), m_async, m_batch, m_connection, m_is_prepared, m_page_size, m_page_start, m_params, m_qtimeoutms, m_results_expected, m_row, m_serial_consistency, m_sql, m_statement, m_use_per_request_timeout, RAISE_CASS_ERROR, RAISE_DB_ERROR, SetEOF(), and Wait().
Referenced by RestartExecute().
|
inline |
Definition at line 1431 of file cass_driver.hpp.
References GetColumn(), output, and RAISE_CASS_ERROR.
|
inline |
Definition at line 1455 of file cass_driver.hpp.
References GetColumn(), output, and RAISE_CASS_ERROR.
|
inline |
Definition at line 1414 of file cass_driver.hpp.
References buf, GetColumn(), len, output, RAISE_CASS_ERROR, and RAISE_DB_ERROR.
Definition at line 1057 of file cass_driver.hpp.
References CException::AddToMessage(), Convert::CassValueConvert< bool >(), GetColumn(), and GetColumnDef().
|
inline |
Definition at line 1071 of file cass_driver.hpp.
References GetColumn().
|
inline |
Definition at line 1212 of file cass_driver.hpp.
References CException::AddToMessage(), Convert::CassValueConvert(), GetColumn(), GetColumnDef(), RAISE_DB_ERROR, and rapidjson::value.
|
inline |
Definition at line 1167 of file cass_driver.hpp.
References CException::AddToMessage(), Convert::CassValueConvert< double >(), GetColumn(), and GetColumnDef().
|
inline |
Definition at line 1182 of file cass_driver.hpp.
References GetColumn().
Definition at line 1101 of file cass_driver.hpp.
References CException::AddToMessage(), Convert::CassValueConvert< int16_t >(), GetColumn(), and GetColumnDef().
|
inline |
Definition at line 1115 of file cass_driver.hpp.
References GetColumn().
Definition at line 1123 of file cass_driver.hpp.
References CException::AddToMessage(), Convert::CassValueConvert< int32_t >(), GetColumn(), and GetColumnDef().
|
inline |
Definition at line 1137 of file cass_driver.hpp.
References GetColumn().
Definition at line 1145 of file cass_driver.hpp.
References CException::AddToMessage(), Convert::CassValueConvert< int64_t >(), GetColumn(), and GetColumnDef().
|
inline |
Definition at line 1159 of file cass_driver.hpp.
References GetColumn().
Definition at line 1079 of file cass_driver.hpp.
References CException::AddToMessage(), Convert::CassValueConvert< int8_t >(), GetColumn(), and GetColumnDef().
|
inline |
Definition at line 1093 of file cass_driver.hpp.
References GetColumn().
|
inline |
Definition at line 1367 of file cass_driver.hpp.
References CException::AddToMessage(), Convert::CassValueConvert(), GetColumn(), GetColumnDef(), ncbi::grid::netcache::search::fields::key, RAISE_DB_ERROR, result, and val.
|
inline |
Definition at line 1327 of file cass_driver.hpp.
References CException::AddToMessage(), Convert::CassValueConvert(), GetColumn(), GetColumnDef(), RAISE_DB_ERROR, T, and rapidjson::value.
|
inline |
Definition at line 1289 of file cass_driver.hpp.
References CException::AddToMessage(), Convert::CassValueConvert(), GetColumn(), GetColumnDef(), RAISE_DB_ERROR, T, and rapidjson::value.
Definition at line 1190 of file cass_driver.hpp.
References CException::AddToMessage(), Convert::CassValueConvert< string >(), GetColumn(), and GetColumnDef().
Referenced by FieldGetStrValue().
|
inline |
Definition at line 1259 of file cass_driver.hpp.
References FieldGetStrValue(), and rapidjson::value.
|
inline |
Definition at line 1204 of file cass_driver.hpp.
References GetColumn().
Referenced by FieldGetStrValueDef().
|
inline |
Definition at line 1265 of file cass_driver.hpp.
References FieldGetStrValueDef(), and rapidjson::value.
Definition at line 1271 of file cass_driver.hpp.
References CException::AddToMessage(), Convert::CassValueConvert(), GetColumn(), GetColumnDef(), t, and T.
|
inline |
Definition at line 1005 of file cass_driver.hpp.
References dtBlob, dtBoolean, dtCollection, dtCounter, dtCustom, dtDate, dtFloat, dtInteger, dtNetwork, dtNull, dtText, dtTimestamp, dtUnknown, dtUuid, FieldIsNull(), and GetColumn().
Definition at line 1918 of file cass_driver.cpp.
References m_row, and RAISE_DB_ERROR.
Definition at line 1905 of file cass_driver.cpp.
References m_row, and RAISE_DB_ERROR.
Definition at line 836 of file cass_driver.hpp.
References F.
Referenced by FieldGetBlobRaw(), FieldGetBlobSize(), FieldGetBlobValue(), FieldGetBoolValue(), FieldGetContainerValue(), FieldGetFloatValue(), FieldGetInt16Value(), FieldGetInt32Value(), FieldGetInt64Value(), FieldGetInt8Value(), FieldGetMapValue(), FieldGetSetValues(), FieldGetStrValue(), FieldGetStrValueDef(), FieldGetTupleValue(), FieldIsNull(), and FieldType().
Definition at line 1891 of file cass_driver.cpp.
References m_row, and RAISE_DB_ERROR.
Definition at line 1942 of file cass_driver.cpp.
References string, and ToString().
Definition at line 1937 of file cass_driver.cpp.
References ToString().
Definition at line 843 of file cass_driver.hpp.
References F.
Referenced by FieldGetBoolValue(), FieldGetContainerValue(), FieldGetFloatValue(), FieldGetInt16Value(), FieldGetInt32Value(), FieldGetInt64Value(), FieldGetInt8Value(), FieldGetMapValue(), FieldGetSetValues(), FieldGetStrValue(), and FieldGetTupleValue().
Definition at line 1932 of file cass_driver.cpp.
References NStr::NumericToString(), and ToString().
|
inline |
Definition at line 1467 of file cass_driver.hpp.
References m_connection.
|
private |
Definition at line 1672 of file cass_driver.cpp.
References gettime(), IsActive(), m_batch, m_connection, m_future, m_futuretime, m_iterator, m_ondata3, m_result, m_statement, RAISE_DB_ERROR, and SetupOnDataCallback().
Referenced by Execute(), IsReady(), Query(), RunBatch(), and Wait().
unsigned int CCassQuery::GetRequestTimeoutMs | ( | ) | const |
Definition at line 1191 of file cass_driver.cpp.
References m_connection, m_qtimeoutms, and m_use_per_request_timeout.
string CCassQuery::GetSQL | ( | ) | const |
Definition at line 1255 of file cass_driver.cpp.
References m_sql.
|
private |
Definition at line 1209 of file cass_driver.cpp.
References m_allow_prepare, m_async, m_batch, m_cb_ref, m_connection, m_future, m_futuretime, m_is_prepared, m_iterator, m_page_size, m_page_start, m_params, m_result, m_results_expected, m_row, and m_statement.
|
inline |
Definition at line 927 of file cass_driver.hpp.
References m_batch, m_row, and m_statement.
Referenced by GetFuture(), NewBatch(), NextRow(), and Query().
|
virtual |
Definition at line 1987 of file cass_driver.cpp.
References m_async.
|
virtual |
Definition at line 1982 of file cass_driver.cpp.
References m_EOF.
bool CCassQuery::IsReady | ( | void | ) |
Definition at line 1665 of file cass_driver.cpp.
References GetFuture(), and m_future.
void CCassQuery::NewBatch | ( | void | ) |
Definition at line 1384 of file cass_driver.cpp.
References IsActive(), m_batch, m_connection, m_qtimeoutms, m_use_per_request_timeout, RAISE_CASS_ERROR, and RAISE_DB_ERROR.
async_rslt_t CCassQuery::NextRow | ( | ) |
Definition at line 1833 of file cass_driver.cpp.
References ar_dataready, ar_done, b, IsActive(), m_async, m_iterator, m_page_size, m_page_start, m_qtimeoutms, m_result, m_row, m_statement, RAISE_CASS_ERROR, RAISE_DB_ERROR, SetEOF(), and Wait().
|
privatedelete |
Definition at line 1338 of file cass_driver.cpp.
References CheckParamAssigned(), and m_params.
Definition at line 1345 of file cass_driver.cpp.
References CheckParamAssigned(), and m_params.
Definition at line 1352 of file cass_driver.cpp.
References CheckParamAssigned(), and m_params.
Referenced by ToString().
Definition at line 1359 of file cass_driver.cpp.
References CheckParamAssigned(), m_params, and rapidjson::value.
Definition at line 1365 of file cass_driver.cpp.
References CheckParamAssigned(), and m_params.
Referenced by Restart().
|
inline |
Definition at line 983 of file cass_driver.hpp.
References m_params.
Referenced by Restart(), and ToString().
CassValueType CCassQuery::ParamType | ( | int | iprm | ) | const |
Definition at line 1371 of file cass_driver.cpp.
References CheckParamAssigned(), and m_params.
Referenced by ToString().
|
private |
Definition at line 1772 of file cass_driver.cpp.
References GetErrorCodeByDriverRC(), m_batch, m_cb_ref, m_connection, m_future, m_futuretime, m_iterator, m_onexecute, m_onexecute_data, m_page_start, m_result, m_results_expected, m_statement, ProduceCassandraQueryErrorMessage(), RAISE_CASS_QUERY_ERROR, RAISE_DB_ERROR, and SetEOF().
Referenced by Wait().
void CCassQuery::Query | ( | TCassConsistency | c = CCassConsistency::kLocalQuorum , |
bool | run_async = false , |
||
bool | allow_prepare = true , |
||
unsigned int | page_size = DEFAULT_PAGE_SIZE |
||
) |
Definition at line 1414 of file cass_driver.cpp.
References Bind(), Close(), GetFuture(), IsActive(), m_async, m_batch, m_connection, m_execution_host, m_is_prepared, m_page_size, m_page_start, m_params, m_qtimeoutms, m_results_expected, m_serial_consistency, m_sql, m_statement, m_use_per_request_timeout, RAISE_CASS_ERROR, RAISE_DB_ERROR, SetEOF(), and Wait().
Referenced by RestartQuery(), and CCassBlobTaskLoadBlob::x_RequestChunk().
void CCassQuery::Restart | ( | TCassConsistency | c = CCassConsistency::kLocalQuorum | ) |
Definition at line 1609 of file cass_driver.cpp.
References ERR_POST, i, m_future, m_results_expected, m_sql, ParamAsStrForDebug(), ParamCount(), NStr::Quote(), RAISE_DB_ERROR, RestartExecute(), RestartQuery(), and Warning().
void CCassQuery::RestartExecute | ( | TCassConsistency | c = CCassConsistency::kLocalQuorum | ) |
Definition at line 1591 of file cass_driver.cpp.
References Close(), Execute(), m_async, m_connection, m_future, m_is_prepared, m_params, RAISE_DB_ERROR, SetTimeout(), and UsePerRequestTimeout().
Referenced by Restart().
void CCassQuery::RestartQuery | ( | TCassConsistency | c = CCassConsistency::kLocalQuorum | ) |
Definition at line 1493 of file cass_driver.cpp.
References Close(), m_async, m_connection, m_future, m_is_prepared, m_page_size, m_params, Query(), RAISE_DB_ERROR, SetTimeout(), and UsePerRequestTimeout().
Referenced by Restart().
async_rslt_t CCassQuery::RunBatch | ( | ) |
Definition at line 1636 of file cass_driver.cpp.
References ar_wait, GetFuture(), m_async, m_batch, m_qtimeoutms, RAISE_DB_ERROR, and Wait().
|
private |
Definition at line 1377 of file cass_driver.cpp.
References m_EOF, and rapidjson::value.
Referenced by Execute(), NextRow(), ProcessFutureResult(), and Query().
Definition at line 1409 of file cass_driver.cpp.
References m_execution_host.
|
inline |
Definition at line 1472 of file cass_driver.hpp.
References m_future, m_ondata3, RAISE_DB_ERROR, and SetupOnDataCallback().
Referenced by CCassBlobTaskLoadBlob::x_RequestChunk().
|
inline |
Definition at line 1494 of file cass_driver.hpp.
References m_onexecute, and m_onexecute_data.
void CCassQuery::SetSerialConsistency | ( | TCassConsistency | c | ) |
Definition at line 1630 of file cass_driver.cpp.
References m_serial_consistency.
Definition at line 1259 of file cass_driver.cpp.
References InternalClose(), m_params, m_sql, and sql.
void CCassQuery::SetTimeout | ( | void | ) |
Definition at line 1171 of file cass_driver.cpp.
References CASS_DRV_TIMEOUT_MS.
Referenced by RestartExecute(), and RestartQuery().
void CCassQuery::SetTimeout | ( | unsigned int | t | ) |
Definition at line 1176 of file cass_driver.cpp.
References m_qtimeoutms, and t.
|
private |
Definition at line 1751 of file cass_driver.cpp.
References CCassQueryCbRef, m_cb_ref, m_future, m_ondata3, RAISE_DB_ERROR, and CCassQueryCbRef::s_OnFutureCb().
Referenced by GetFuture(), and SetOnData3().
unsigned int CCassQuery::Timeout | ( | void | ) | const |
Definition at line 1181 of file cass_driver.cpp.
References m_qtimeoutms.
|
virtual |
Definition at line 1946 of file cass_driver.cpp.
References i, m_sql, NStr::NumericToString(), ParamAsStr(), ParamCount(), and ParamType().
Referenced by GetColumnDef().
void CCassQuery::UsePerRequestTimeout | ( | bool | value | ) |
Definition at line 1186 of file cass_driver.cpp.
References m_use_per_request_timeout, and rapidjson::value.
Referenced by RestartExecute(), and RestartQuery().
|
private |
Definition at line 1702 of file cass_driver.cpp.
References ar_dataready, ar_done, ar_wait, CCassandraException::eQueryTimeout, GetFuture(), gettime(), m_async, m_batch, m_EOF, m_future, m_futuretime, m_result, m_results_expected, m_sql, m_statement, ProcessFutureResult(), ProduceSyncTimeoutMessage(), NStr::Quote(), RAISE_CASS_QUERY_ERROR, RAISE_DB_ERROR, and t.
Referenced by Execute(), NextRow(), Query(), RunBatch(), and WaitAsync().
|
virtual |
Definition at line 1656 of file cass_driver.cpp.
References m_async, RAISE_DB_ERROR, and Wait().
|
friend |
Definition at line 781 of file cass_driver.hpp.
|
friend |
Definition at line 782 of file cass_driver.hpp.
Referenced by SetupOnDataCallback().
Definition at line 1500 of file cass_driver.hpp.
|
private |
Definition at line 819 of file cass_driver.hpp.
Referenced by InternalClose().
|
private |
Definition at line 818 of file cass_driver.hpp.
Referenced by Execute(), InternalClose(), IsAsync(), NextRow(), Query(), RestartExecute(), RestartQuery(), RunBatch(), Wait(), and WaitAsync().
|
private |
Definition at line 807 of file cass_driver.hpp.
Referenced by Execute(), GetFuture(), InternalClose(), IsActive(), NewBatch(), ProcessFutureResult(), Query(), RunBatch(), and Wait().
|
private |
Definition at line 823 of file cass_driver.hpp.
Referenced by InternalClose(), ProcessFutureResult(), and SetupOnDataCallback().
|
private |
Definition at line 802 of file cass_driver.hpp.
Referenced by CCassQuery(), Execute(), GetConnection(), GetFuture(), GetRequestTimeoutMs(), InternalClose(), NewBatch(), ProcessFutureResult(), Query(), RestartExecute(), and RestartQuery().
|
private |
Definition at line 813 of file cass_driver.hpp.
|
private |
Definition at line 830 of file cass_driver.hpp.
|
private |
Definition at line 806 of file cass_driver.hpp.
Referenced by GetFuture(), InternalClose(), IsReady(), ProcessFutureResult(), Restart(), RestartExecute(), RestartQuery(), SetOnData3(), SetupOnDataCallback(), and Wait().
|
private |
Definition at line 805 of file cass_driver.hpp.
Referenced by GetFuture(), InternalClose(), ProcessFutureResult(), and Wait().
|
private |
Definition at line 820 of file cass_driver.hpp.
Referenced by Execute(), InternalClose(), Query(), RestartExecute(), and RestartQuery().
|
private |
Definition at line 810 of file cass_driver.hpp.
Referenced by GetFuture(), InternalClose(), NextRow(), and ProcessFutureResult().
|
private |
Definition at line 825 of file cass_driver.hpp.
Referenced by GetFuture(), SetOnData3(), and SetupOnDataCallback().
|
private |
Definition at line 827 of file cass_driver.hpp.
Referenced by ProcessFutureResult(), and SetOnExecute().
|
private |
Definition at line 828 of file cass_driver.hpp.
Referenced by ProcessFutureResult(), SetOnExecute(), and ~CCassQuery().
|
private |
Definition at line 812 of file cass_driver.hpp.
Referenced by Execute(), InternalClose(), NextRow(), Query(), and RestartQuery().
|
private |
Definition at line 814 of file cass_driver.hpp.
Referenced by Execute(), InternalClose(), NextRow(), ProcessFutureResult(), and Query().
|
private |
Definition at line 815 of file cass_driver.hpp.
Referenced by Bind(), BindBytes(), BindDate(), BindInt16(), BindInt32(), BindInt64(), BindInt8(), BindList(), BindMap(), BindNull(), BindSet(), BindStr(), BindTuple(), CheckParamAssigned(), CheckParamExists(), Execute(), InternalClose(), ParamAsInt32(), ParamAsInt64(), ParamAsStr(), ParamAsStrForDebug(), ParamCount(), ParamType(), Query(), RestartExecute(), RestartQuery(), and SetSQL().
|
private |
Definition at line 803 of file cass_driver.hpp.
Referenced by Execute(), GetRequestTimeoutMs(), NewBatch(), NextRow(), Query(), RunBatch(), SetTimeout(), and Timeout().
|
private |
Definition at line 809 of file cass_driver.hpp.
Referenced by GetFuture(), InternalClose(), NextRow(), ProcessFutureResult(), and Wait().
|
private |
Definition at line 817 of file cass_driver.hpp.
Referenced by Execute(), InternalClose(), ProcessFutureResult(), Query(), Restart(), and Wait().
|
private |
Definition at line 811 of file cass_driver.hpp.
Referenced by Execute(), GetColumn(), InternalClose(), IsActive(), and NextRow().
|
private |
Definition at line 821 of file cass_driver.hpp.
Referenced by Execute(), Query(), and SetSerialConsistency().
|
private |
Definition at line 816 of file cass_driver.hpp.
Referenced by Execute(), GetSQL(), Query(), Restart(), SetSQL(), ToString(), and Wait().
|
private |
Definition at line 808 of file cass_driver.hpp.
Referenced by Bind(), Execute(), GetFuture(), InternalClose(), IsActive(), NextRow(), ProcessFutureResult(), Query(), and Wait().
Definition at line 804 of file cass_driver.hpp.
Referenced by Execute(), GetRequestTimeoutMs(), NewBatch(), Query(), and UsePerRequestTimeout().