SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::Comm::Protocol::Bkr::Handler Namespace Reference

Classes

struct  ColumnCompact
 
struct  ColumnGet
 
struct  ColumnList
 
struct  ColumnMng
 
class  Selector
 
class  Updater
 

Functions

void cells_select (const ConnHandlerPtr &conn, const Event::Ptr &ev)
 
void cells_update (const ConnHandlerPtr &conn, const Event::Ptr &ev)
 
void column_compact (const ConnHandlerPtr &conn, const Event::Ptr &ev)
 
SWC_CAN_INLINE DB::Schema::Ptr get_schema (int &err, const Mngr::Params::ColumnGetReq &params)
 
void column_get (const ConnHandlerPtr &conn, const Event::Ptr &ev)
 
void column_list (const ConnHandlerPtr &conn, const Event::Ptr &ev)
 
void column_mng (const ConnHandlerPtr &conn, const Event::Ptr &ev)
 

Function Documentation

◆ cells_select()

void SWC::Comm::Protocol::Bkr::Handler::cells_select ( const ConnHandlerPtr conn,
const Event::Ptr ev 
)

◆ cells_update()

void SWC::Comm::Protocol::Bkr::Handler::cells_update ( const ConnHandlerPtr conn,
const Event::Ptr ev 
)

Definition at line 89 of file CellsUpdate.h.

References SWC::Comm::Protocol::Bkr::Params::CellsUpdateReq::cid, SWC::Error::Exception::code(), SWC::Comm::Serializable::decode(), SWC::Env::Clients::get(), SWC::Error::INVALID_ARGUMENT, SWC::LOG_ERROR, SWC::Comm::Buffers::make(), SWC::Error::OK, SWC::Env::Bkr::processed(), SWC_CURRENT_EXCEPTION, SWC_LOG_OSTREAM, and SWC_LOG_OUT.

+ Here is the call graph for this function:

◆ column_compact()

void SWC::Comm::Protocol::Bkr::Handler::column_compact ( const ConnHandlerPtr conn,
const Event::Ptr ev 
)

Definition at line 56 of file ColumnCompact.h.

References SWC::Error::Exception::code(), SWC::Comm::Serializable::decode(), SWC::LOG_ERROR, SWC::Comm::Buffers::make(), SWC::Env::Bkr::processed(), SWC::Comm::Protocol::Mngr::Req::ColumnCompact< DataT >::request(), SWC_CURRENT_EXCEPTION, SWC_LOG_OSTREAM, and SWC_LOG_OUT.

+ Here is the call graph for this function:

◆ column_get()

void SWC::Comm::Protocol::Bkr::Handler::column_get ( const ConnHandlerPtr conn,
const Event::Ptr ev 
)

◆ column_list()

void SWC::Comm::Protocol::Bkr::Handler::column_list ( const ConnHandlerPtr conn,
const Event::Ptr ev 
)

Definition at line 74 of file ColumnList.h.

References SWC::Error::Exception::code(), SWC::Comm::Serializable::decode(), SWC::LOG_ERROR, SWC::Comm::Buffers::make(), SWC::Env::Bkr::processed(), SWC::Comm::Protocol::Mngr::Req::ColumnList< DataT >::request(), SWC_CURRENT_EXCEPTION, SWC_LOG_OSTREAM, and SWC_LOG_OUT.

+ Here is the call graph for this function:

◆ column_mng()

void SWC::Comm::Protocol::Bkr::Handler::column_mng ( const ConnHandlerPtr conn,
const Event::Ptr ev 
)

Definition at line 59 of file ColumnMng.h.

References SWC::Error::Exception::code(), SWC::Comm::Serializable::decode(), SWC::LOG_ERROR, SWC::Env::Bkr::processed(), SWC::Comm::Protocol::Mngr::Req::ColumnMng< DataT >::request(), SWC::Comm::Protocol::Mngr::Params::ColumnMng::schema, SWC_CURRENT_EXCEPTION, SWC_LOG_OSTREAM, and SWC_LOG_OUT.

+ Here is the call graph for this function:

◆ get_schema()

SWC_CAN_INLINE DB::Schema::Ptr SWC::Comm::Protocol::Bkr::Handler::get_schema ( int &  err,
const Mngr::Params::ColumnGetReq params 
)

Definition at line 64 of file ColumnGet.h.

References SWC::Comm::Protocol::Mngr::Params::ColumnGetReq::cid, SWC::Error::COLUMN_UNKNOWN_GET_FLAG, SWC::Comm::Protocol::Mngr::Params::ColumnGetReq::flag, SWC::Env::Clients::get(), and SWC::Comm::Protocol::Mngr::Params::ColumnGetReq::name.

Referenced by column_get().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: