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::FetchScanblock Class Reference

Request parameters for fetch scanblock function. More...

#include <FetchScanblock.h>

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

Public Member Functions

 FetchScanblock ()
 Constructor. More...
 
 FetchScanblock (int32_t scanner_id)
 Constructor. More...
 
int32_t scanner_id ()
 Gets scanner ID. 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

int32_t m_scanner_id
 Scanner ID. More...
 

Additional Inherited Members

Detailed Description

Request parameters for fetch scanblock function.

Definition at line 50 of file FetchScanblock.h.

Constructor & Destructor Documentation

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

Constructor.

Empty initialization for decoding.

Definition at line 55 of file FetchScanblock.h.

Hypertable::Lib::RangeServer::Request::Parameters::FetchScanblock::FetchScanblock ( int32_t  scanner_id)
inline

Constructor.

Initializes with parameters for encoding.

Parameters
scanner_idScanner ID

Definition at line 60 of file FetchScanblock.h.

Member Function Documentation

void FetchScanblock::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 61 of file FetchScanblock.cc.

void FetchScanblock::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
i32 Scanner ID

Implements Hypertable::Serializable.

Definition at line 57 of file FetchScanblock.cc.

size_t FetchScanblock::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 FetchScanblock.cc.

uint8_t FetchScanblock::encoding_version ( ) const
overrideprivatevirtual

Returns encoding version.

Returns
Encoding version

Implements Hypertable::Serializable.

Definition at line 37 of file FetchScanblock.cc.

int32_t Hypertable::Lib::RangeServer::Request::Parameters::FetchScanblock::scanner_id ( )
inline

Gets scanner ID.

Returns
Scanner ID

Definition at line 64 of file FetchScanblock.h.

Member Data Documentation

int32_t Hypertable::Lib::RangeServer::Request::Parameters::FetchScanblock::m_scanner_id
private

Scanner ID.

Definition at line 91 of file FetchScanblock.h.


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