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::Rgr::Req::ColumnDelete Class Reference

#include <swcdb/manager/Protocol/Rgr/req/ColumnDelete.h>

+ Inheritance diagram for SWC::Comm::Protocol::Rgr::Req::ColumnDelete:
+ Collaboration diagram for SWC::Comm::Protocol::Rgr::Req::ColumnDelete:

Public Types

typedef std::shared_ptr< ColumnDeletePtr
 
- Public Types inherited from SWC::Comm::client::ConnQueueReqBase
typedef std::shared_ptr< ConnQueueReqBasePtr
 
- Public Types inherited from SWC::Comm::DispatchHandler
typedef std::shared_ptr< DispatchHandlerPtr
 

Public Member Functions

 ColumnDelete (const Manager::Ranger::Ptr &rgr, const DB::Schema::Ptr &schema, uint64_t req_id)
 
virtual ~ColumnDelete () noexcept
 
void handle (ConnHandlerPtr conn, const Event::Ptr &ev) override
 
void handle_no_conn () override
 
void remove ()
 
- Public Member Functions inherited from SWC::Comm::client::ConnQueueReqBase
SWC_CAN_INLINE ConnQueueReqBase (Buffers::Ptr &&a_cbp) noexcept
 
SWC_CAN_INLINE ConnQueueReqBase (Buffers::Ptr &&a_cbp, const ConnQueuePtr &a_queue) noexcept
 
SWC_CAN_INLINE Ptr req () noexcept
 
virtual bool insistent () noexcept
 
void request_again ()
 
void print (std::ostream &out)
 
- Public Member Functions inherited from SWC::Comm::DispatchHandler
virtual bool run ()
 
virtual bool valid ()
 

Private Attributes

Manager::Ranger::Ptr rgr
 
DB::Schema::Ptr schema
 
uint64_t req_id
 

Additional Inherited Members

- Public Attributes inherited from SWC::Comm::client::ConnQueueReqBase
Buffers::Ptr cbp
 
ConnQueuePtr queue
 
- Protected Member Functions inherited from SWC::Comm::client::ConnQueueReqBase
virtual ~ConnQueueReqBase () noexcept
 
- Protected Member Functions inherited from SWC::Comm::DispatchHandler
virtual ~DispatchHandler () noexcept
 

Detailed Description

Definition at line 14 of file ColumnDelete.h.

Member Typedef Documentation

◆ Ptr

Definition at line 16 of file ColumnDelete.h.

Constructor & Destructor Documentation

◆ ColumnDelete()

SWC_CAN_INLINE SWC::Comm::Protocol::Rgr::Req::ColumnDelete::ColumnDelete ( const Manager::Ranger::Ptr rgr,
const DB::Schema::Ptr schema,
uint64_t  req_id 
)

Definition at line 15 of file ColumnDelete.cc.

◆ ~ColumnDelete()

virtual SWC::Comm::Protocol::Rgr::Req::ColumnDelete::~ColumnDelete ( )
inlinevirtualnoexcept

Definition at line 22 of file ColumnDelete.h.

Member Function Documentation

◆ handle()

void SWC::Comm::Protocol::Rgr::Req::ColumnDelete::handle ( ConnHandlerPtr  conn,
const Event::Ptr ev 
)
overridevirtual

Implements SWC::Comm::DispatchHandler.

Definition at line 27 of file ColumnDelete.cc.

References handle_no_conn(), and remove().

+ Here is the call graph for this function:

◆ handle_no_conn()

void SWC::Comm::Protocol::Rgr::Req::ColumnDelete::handle_no_conn ( )
overridevirtual

Implements SWC::Comm::DispatchHandler.

Definition at line 34 of file ColumnDelete.cc.

References SWC::DB::Types::MngrRangerState::ACK, remove(), SWC::Comm::client::ConnQueueReqBase::request_again(), and rgr.

Referenced by handle().

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

◆ remove()

SWC_CAN_INLINE void SWC::Comm::Protocol::Rgr::Req::ColumnDelete::remove ( )

Definition at line 44 of file ColumnDelete.cc.

References SWC::Env::Mngr::mngd_columns(), SWC::Manager::MngdColumns::remove(), req_id, rgr, and schema.

Referenced by handle(), and handle_no_conn().

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

Member Data Documentation

◆ req_id

uint64_t SWC::Comm::Protocol::Rgr::Req::ColumnDelete::req_id
private

Definition at line 34 of file ColumnDelete.h.

Referenced by remove().

◆ rgr

Manager::Ranger::Ptr SWC::Comm::Protocol::Rgr::Req::ColumnDelete::rgr
private

Definition at line 32 of file ColumnDelete.h.

Referenced by handle_no_conn(), and remove().

◆ schema

DB::Schema::Ptr SWC::Comm::Protocol::Rgr::Req::ColumnDelete::schema
private

Definition at line 33 of file ColumnDelete.h.

Referenced by remove().


The documentation for this class was generated from the following files: