0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Hypertable::Lib::RangeServer::Request::Parameters::DumpPseudoTable Class Reference

Request parameters for dump pseudo table function. More...

#include <DumpPseudoTable.h>

Inheritance diagram for Hypertable::Lib::RangeServer::Request::Parameters::DumpPseudoTable:
Inheritance graph
[legend]
Collaboration diagram for Hypertable::Lib::RangeServer::Request::Parameters::DumpPseudoTable:
Collaboration graph
[legend]

Public Member Functions

 DumpPseudoTable ()
 Constructor. More...
 
 DumpPseudoTable (const TableIdentifier &table, const string &pseudo_table_name, const string &output_file_name)
 Constructor. More...
 
const TableIdentifiertable ()
 Gets table identifier. More...
 
const char * pseudo_table_name ()
 Gets pseudo table name. More...
 
const char * output_file_name ()
 Gets output file name. More...
 
- Public Member Functions inherited from Hypertable::Serializable
virtual size_t encoded_length () const
 Returns serialized object length. More...
 
virtual void encode (uint8_t **bufp) const
 Writes serialized representation of object to a buffer. More...
 
virtual void decode (const uint8_t **bufp, size_t *remainp)
 Reads serialized representation of object from a buffer. More...
 

Private Member Functions

uint8_t encoding_version () const override
 Returns encoding version. More...
 
size_t encoded_length_internal () const override
 Returns internal serialized length. More...
 
void encode_internal (uint8_t **bufp) const override
 Writes serialized representation of object to a buffer. More...
 
void decode_internal (uint8_t version, const uint8_t **bufp, size_t *remainp) override
 Reads serialized representation of object from a buffer. More...
 

Private Attributes

TableIdentifier m_table
 Table identifier More...
 
const char * m_pseudo_table_name
 Pseudo table name. More...
 
const char * m_output_file_name
 Output file name. More...
 

Additional Inherited Members

Detailed Description

Request parameters for dump pseudo table function.

Definition at line 48 of file DumpPseudoTable.h.

Constructor & Destructor Documentation

Hypertable::Lib::RangeServer::Request::Parameters::DumpPseudoTable::DumpPseudoTable ( )
inline

Constructor.

Empty initialization for decoding.

Definition at line 53 of file DumpPseudoTable.h.

Hypertable::Lib::RangeServer::Request::Parameters::DumpPseudoTable::DumpPseudoTable ( const TableIdentifier table,
const string &  pseudo_table_name,
const string &  output_file_name 
)
inline

Constructor.

Initializes with parameters for encoding.

Parameters
tableTable identifier
pseudo_table_namePseudo table name
output_file_nameOutput file name

Definition at line 60 of file DumpPseudoTable.h.

Member Function Documentation

void DumpPseudoTable::decode_internal ( uint8_t  version,
const uint8_t **  bufp,
size_t *  remainp 
)
overrideprivatevirtual

Reads serialized representation of object from a buffer.

Parameters
versionEncoding version
bufpAddress of destination buffer pointer (advanced by call)
remainpAddress of integer holding amount of serialized object remaining
See also
encode_internal() for encoding format

Implements Hypertable::Serializable.

Definition at line 73 of file DumpPseudoTable.cc.

void DumpPseudoTable::encode_internal ( uint8_t **  bufp) const
overrideprivatevirtual

Writes serialized representation of object to a buffer.

Parameters
bufpAddress of destination buffer pointer (advanced by call)

Encoding is as follows:

Encoding Description
TableIdentifier Table identifier
vstr Pseudo table name
vstr Output file name

Implements Hypertable::Serializable.

Definition at line 67 of file DumpPseudoTable.cc.

size_t DumpPseudoTable::encoded_length_internal ( ) const
overrideprivatevirtual

Returns internal serialized length.

Returns
Internal serialized length
See also
encode_internal() for encoding format

Implements Hypertable::Serializable.

Definition at line 41 of file DumpPseudoTable.cc.

uint8_t DumpPseudoTable::encoding_version ( ) const
overrideprivatevirtual

Returns encoding version.

Returns
Encoding version

Implements Hypertable::Serializable.

Definition at line 37 of file DumpPseudoTable.cc.

const char* Hypertable::Lib::RangeServer::Request::Parameters::DumpPseudoTable::output_file_name ( )
inline

Gets output file name.

Returns
Output file name

Definition at line 76 of file DumpPseudoTable.h.

const char* Hypertable::Lib::RangeServer::Request::Parameters::DumpPseudoTable::pseudo_table_name ( )
inline

Gets pseudo table name.

Returns
Pseudo table name

Definition at line 72 of file DumpPseudoTable.h.

const TableIdentifier& Hypertable::Lib::RangeServer::Request::Parameters::DumpPseudoTable::table ( )
inline

Gets table identifier.

Returns
Table identifier

Definition at line 68 of file DumpPseudoTable.h.

Member Data Documentation

const char* Hypertable::Lib::RangeServer::Request::Parameters::DumpPseudoTable::m_output_file_name
private

Output file name.

Definition at line 109 of file DumpPseudoTable.h.

const char* Hypertable::Lib::RangeServer::Request::Parameters::DumpPseudoTable::m_pseudo_table_name
private

Pseudo table name.

Definition at line 106 of file DumpPseudoTable.h.

TableIdentifier Hypertable::Lib::RangeServer::Request::Parameters::DumpPseudoTable::m_table
private

Table identifier

Definition at line 103 of file DumpPseudoTable.h.


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