|
| CqlIf (EventManager *evm, const std::vector< std::string > &cassandra_ips, int cassandra_port, const std::string &cassandra_user, const std::string &cassandra_password, bool use_ssl, const std::string &ca_certs_path, bool create_schema=false) |
|
| CqlIf () |
|
virtual | ~CqlIf () |
|
virtual bool | Db_Init () |
|
virtual void | Db_Uninit () |
|
virtual void | Db_SetInitDone (bool) |
|
virtual bool | Db_SetTablespace (const std::string &tablespace) |
|
virtual bool | Db_AddSetTablespace (const std::string &tablespace, const std::string &replication_factor="1") |
|
virtual bool | Db_AddColumnfamily (const GenDb::NewCf &cf, const std::string &compaction_strategy) |
|
virtual bool | Db_UseColumnfamily (const GenDb::NewCf &cf) |
|
virtual bool | Db_UseColumnfamily (const std::string &cfname) |
|
virtual bool | Db_CreateIndex (const std::string &cfname, const std::string &column, const std::string &indexname, const GenDb::ColIndexMode::type index_mode=GenDb::ColIndexMode::NONE) |
|
virtual bool | Db_AddColumn (std::auto_ptr< GenDb::ColList > cl, GenDb::DbConsistency::type dconsistency, GenDb::GenDbIf::DbAddColumnCb cb) |
|
virtual bool | Db_AddColumnSync (std::auto_ptr< GenDb::ColList > cl, GenDb::DbConsistency::type dconsistency) |
|
virtual bool | Db_GetRow (GenDb::ColList *out, const std::string &cfname, const GenDb::DbDataValueVec &rowkey, GenDb::DbConsistency::type dconsistency) |
|
virtual bool | Db_GetRow (GenDb::ColList *out, const std::string &cfname, const GenDb::DbDataValueVec &rowkey, GenDb::DbConsistency::type dconsistency, const GenDb::ColumnNameRange &crange, const GenDb::FieldNamesToReadVec &read_vec) |
|
virtual bool | Db_GetMultiRow (GenDb::ColListVec *out, const std::string &cfname, const std::vector< GenDb::DbDataValueVec > &v_rowkey) |
|
virtual bool | Db_GetMultiRow (GenDb::ColListVec *out, const std::string &cfname, const std::vector< GenDb::DbDataValueVec > &v_rowkey, const GenDb::ColumnNameRange &crange) |
|
virtual bool | Db_GetMultiRow (GenDb::ColListVec *out, const std::string &cfname, const std::vector< GenDb::DbDataValueVec > &v_rowkey, const GenDb::ColumnNameRange &crange, const GenDb::FieldNamesToReadVec &read_vec, GenDb::DbConsistency::type dconsistency=GenDb::DbConsistency::ONE) |
|
virtual bool | Db_GetRowAsync (const std::string &cfname, const GenDb::DbDataValueVec &rowkey, GenDb::DbConsistency::type dconsistency, GenDb::GenDbIf::DbGetRowCb cb) |
|
virtual bool | Db_GetRowAsync (const std::string &cfname, const GenDb::DbDataValueVec &rowkey, GenDb::DbConsistency::type dconsistency, int task_id, int task_instance, GenDb::GenDbIf::DbGetRowCb cb) |
|
virtual bool | Db_GetRowAsync (const std::string &cfname, const GenDb::DbDataValueVec &rowkey, const GenDb::ColumnNameRange &crange, GenDb::DbConsistency::type dconsistency, GenDb::GenDbIf::DbGetRowCb cb) |
|
virtual bool | Db_GetRowAsync (const std::string &cfname, const GenDb::DbDataValueVec &rowkey, const GenDb::ColumnNameRange &crange, GenDb::DbConsistency::type dconsistency, int task_id, int task_instance, GenDb::GenDbIf::DbGetRowCb cb) |
|
virtual bool | Db_GetRowAsync (const std::string &cfname, const GenDb::DbDataValueVec &rowkey, const GenDb::ColumnNameRange &crange, const GenDb::WhereIndexInfoVec &where_vec, GenDb::DbConsistency::type dconsistency, GenDb::GenDbIf::DbGetRowCb cb) |
|
virtual bool | Db_GetAllRows (GenDb::ColListVec *out, const std::string &cfname, GenDb::DbConsistency::type dconsistency) |
|
virtual bool | Db_GetQueueStats (uint64_t *queue_count, uint64_t *enqueues) const |
|
virtual void | Db_SetQueueWaterMark (bool high, size_t queue_count, DbQueueWaterMarkCb cb) |
|
virtual void | Db_ResetQueueWaterMarks () |
|
virtual bool | Db_GetStats (std::vector< GenDb::DbTableInfo > *vdbti, GenDb::DbErrors *dbe) |
|
virtual bool | Db_GetCumulativeStats (std::vector< GenDb::DbTableInfo > *vdbti, GenDb::DbErrors *dbe) const |
|
virtual bool | Db_GetCqlMetrics (Metrics *metrics) const |
|
virtual bool | Db_GetCqlStats (DbStats *db_stats) const |
|
virtual std::vector
< GenDb::Endpoint > | Db_GetEndpoints () const |
|
| GenDbIf () |
|
virtual | ~GenDbIf () |
|
virtual bool | Db_GetMultiRow (ColListVec *ret, const std::string &cfname, const std::vector< DbDataValueVec > &key)=0 |
|
virtual bool | Db_GetMultiRow (ColListVec *ret, const std::string &cfname, const std::vector< DbDataValueVec > &key, const ColumnNameRange &crange)=0 |
|
virtual bool | Db_GetMultiRow (ColListVec *ret, const std::string &cfname, const std::vector< DbDataValueVec > &key, const ColumnNameRange &crange, const FieldNamesToReadVec &read_vec, DbConsistency::type dconsistency=DbConsistency::ONE)=0 |
|
virtual bool | Db_GetStats (std::vector< DbTableInfo > *vdbti, DbErrors *dbe)=0 |
|
virtual bool | Db_GetCumulativeStats (std::vector< DbTableInfo > *vdbti, DbErrors *dbe) const =0 |
|
|
void | OnAsyncColumnAddCompletion (GenDb::DbOpResult::type drc, std::auto_ptr< GenDb::ColList > row, std::string cfname, GenDb::GenDbIf::DbAddColumnCb cb) |
|
void | OnAsyncRowGetCompletion (GenDb::DbOpResult::type drc, std::auto_ptr< GenDb::ColList > row, std::string cfname, GenDb::GenDbIf::DbGetRowCb cb) |
|
void | OnAsyncRowGetCompletion (GenDb::DbOpResult::type drc, std::auto_ptr< GenDb::ColList > row, std::string cfname, GenDb::GenDbIf::DbGetRowCb cb, bool use_worker, int task_id, int task_instance) |
|
void | IncrementTableWriteStats (const std::string &table_name) |
|
void | IncrementTableWriteStats (const std::string &table_name, uint64_t num_writes) |
|
void | IncrementTableWriteFailStats (const std::string &table_name) |
|
void | IncrementTableWriteFailStats (const std::string &table_name, uint64_t num_writes) |
|
void | IncrementTableWriteBackPressureFailStats (const std::string &table_name) |
|
void | IncrementTableReadStats (const std::string &table_name) |
|
void | IncrementTableReadStats (const std::string &table_name, uint64_t num_reads) |
|
void | IncrementTableReadFailStats (const std::string &table_name) |
|
void | IncrementTableReadFailStats (const std::string &table_name, uint64_t num_reads) |
|
void | IncrementTableReadBackPressureFailStats (const std::string &table_name) |
|
void | IncrementErrors (GenDb::IfErrors::Type err_type) |
|
Definition at line 23 of file cql_if.h.