Go to the SVN repository for this file.
79 query->UsePerRequestTimeout(
true);
108[
this, domain, name, &
value, &rslt]
111 autoqry =
m_Conn->NewQuery();
112qry->SetSQL(
"SELECT value FROM maintenance.settings WHERE domain = ? AND name = ?", 2);
113qry->BindStr(0, domain);
114qry->BindStr(1, name);
115CassConsistency cons = is_repeated &&
m_Conn->GetFallBackRdConsistency() ?
116CASS_CONSISTENCY_LOCAL_ONE : CASS_CONSISTENCY_LOCAL_QUORUM;
117qry->Query(cons,
false,
false);
119qry->FieldGetStrValue(0, value);
#define BEGIN_IDBLOB_SCOPE
constexpr const char * kSettingBigBlobSize
constexpr int64_t kChunkSizeDefault
constexpr int64_t kChunkSizeMin
BEGIN_IDBLOB_SCOPE USING_NCBI_SCOPE
constexpr int64_t kActiveStatementsMax
constexpr const char * kSettingLargeChunkSize
void GetBigBlobSizeLimit(unsigned int timeout_ms, const string &keyspace, int64_t *value)
bool GetSetting(unsigned int op_timeout_ms, const string &domain, const string &name, string &value)
shared_ptr< CCassConnection > m_Conn
void GetBlobChunkSize(unsigned int timeout_ms, const string &keyspace, int64_t *chunk_size)
std::chrono::milliseconds m_QueryTimeout
shared_ptr< CCassConnection > m_Conn
shared_ptr< CCassQuery > ProduceQuery() const
virtual std::chrono::milliseconds GetQueryTimeout() const
virtual void SetQueryTimeout(std::chrono::milliseconds value)
Experimental!!! May conflict with CCassConnection::SetQueryTimeoutRetry() when query timed out and CC...
static void Perform(unsigned int optimeoutms, const std::function< bool()> &PreLoopCB, const std::function< void(const CCassandraException &)> &DbExceptCB, const std::function< bool(bool)> &OpCB)
static const int chunk_size
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_SCOPE(ns)
Define a new scope.
static TNumeric StringToNumeric(const CTempString str, TStringToNumFlags flags=0, int base=10)
Convert string to a numeric value.
const GenericPointer< typename T::ValueType > T2 value
Process information in the NCBI Registry, including working with configuration files.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4