0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Member Functions | List of all members
Hypertable::Serializable Class Referenceabstract

Mixin class that provides a standard serialization interface. More...

#include <Serializable.h>

Inheritance diagram for Hypertable::Serializable:
Inheritance graph
[legend]

Public Member Functions

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...
 

Protected Member Functions

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

Detailed Description

Mixin class that provides a standard serialization interface.

This class is designed to provide a standard serialization interface to any class. It allows the serialization of a class to be extended in such a way to allow for both backward and forward compatibility. It accomplishes this by encoding a header at the beginning of the serialization that includes a version number and the length of the remaining encoding. An encoding version can be extended in a forward compatible way by adding additional encoded state at the end of the encoding. This additional encoding will be skipped by older decoders and newer decoders can decode older encodings (of the same version) by returning once the end of the serialization is reached. For example, let's say that you create an encoding that initially just encodes a 32-bit integer and then is later extended to included an additional string. To handle the decoding in a backward and forward compatible way, the decode_internal() function should be implemented as follows:

void decode_internal(uint8_t version, const uint8_t **bufp, size_t *remainp) {
  if (version == 1) {
    m_num = Serialization::decode_i32(bufp, remainp);
    // Check to see if we're at the end of the record and if so return.
    if (*remainp == 0)
      return;
    m_str = Serialization::decode_vstr(bufp, remainp);
  }
}

A change in the encoding version number means that the encoding has changed in a forward incompatible way. The decode() function will throw an Exception with code Error::PROTOCOL_ERROR if the version being decoded is greater than the version returned by encoding_version().

Definition at line 65 of file Serializable.h.

Member Function Documentation

void Serializable::decode ( const uint8_t **  bufp,
size_t *  remainp 
)
virtual

Reads serialized representation of object from a buffer.

Parameters
bufpAddress of destination buffer pointer (advanced by call)
remainpAddress of integer holding amount of remaining buffer
See also
encode() for encoding format
Exceptions
Exceptionwith code Error::PROTOCOL_ERROR if version being decoded is greater than that returned by encoding_version().

Reimplemented in Hypertable::MetaLog::EntityRecover.

Definition at line 70 of file Serializable.cc.

virtual void Hypertable::Serializable::decode_internal ( uint8_t  version,
const uint8_t **  bufp,
size_t *  remainp 
)
protectedpure virtual

Reads serialized representation of object from a buffer.

This function is to be overridden by derived classes and should decode the object per-se as encoded with encode_internal().

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

Implemented in Hypertable::Operation, Hypertable::RangeStateManaged, Hypertable::Lib::ScanSpec, Hypertable::BalancePlanAuthority, Hypertable::MetaLogEntityRange, Hypertable::MetaLog::EntityRecover, Hypertable::SystemState, Hypertable::Status, Hypertable::QualifiedRangeSpecManaged, Hypertable::TableIdentifierManaged, Hypertable::RangeState, Hypertable::Lib::RangeServerRecovery::ReplayPlan, Hypertable::RangeSpecManaged, Hypertable::Lib::RangeServer::Request::Parameters::ReplayFragments, Hypertable::MetaLogEntityRemoveOkLogs, Hypertable::Lib::Master::Request::Parameters::MoveRange, Hypertable::Lib::RangeServer::Request::Parameters::PhantomLoad, Hypertable::Filesystem::Dirent, Hypertable::Lib::RangeServerRecovery::ReceiverPlan, Hypertable::Lib::RangeServer::Response::Parameters::CreateScanner, Hypertable::Lib::Master::Request::Parameters::PhantomCommitComplete, Hypertable::Lib::Master::Request::Parameters::PhantomPrepareComplete, Hypertable::Lib::Master::Request::Parameters::ReplayComplete, Hypertable::Lib::RangeServerRecovery::ServerReceiverPlan, Hypertable::Lib::RangeServer::Request::Parameters::PhantomCommitRanges, Hypertable::Lib::RangeServer::Request::Parameters::PhantomPrepareRanges, Hypertable::Lib::Master::Request::Parameters::RegisterServer, Hypertable::Lib::Master::Request::Parameters::RelinquishAcknowledge, Hypertable::Lib::RangeServer::Request::Parameters::LoadRange, Hypertable::Lib::ColumnPredicate, Hypertable::Lib::RangeServer::Request::Parameters::PhantomUpdate, Hypertable::Lib::RangeServer::Request::Parameters::Update, Hypertable::TableParts, Hypertable::Lib::Master::Response::Parameters::RegisterServer, Hypertable::Lib::RangeServer::Request::Parameters::Compact, Hypertable::Lib::RangeServer::Request::Parameters::CreateScanner, Hypertable::Lib::RangeServer::Request::Parameters::DumpPseudoTable, Hypertable::RangeServerConnection, Hypertable::Lib::Master::Request::Parameters::ReplayStatus, Hypertable::FsBroker::Lib::Request::Parameters::Create, Hypertable::Lib::Master::Request::Parameters::Compact, Hypertable::RangeMoveSpec, Hypertable::Lib::RangeServerRecovery::Plan, Hypertable::Lib::Master::Request::Parameters::AlterTable, Hypertable::Lib::RangeServer::Request::Parameters::GetStatistics, Hypertable::Lib::RangeServer::Request::Parameters::SetState, Hypertable::QualifiedRangeSpec, Hypertable::Lib::Master::Response::Parameters::Status, Hypertable::Lib::Master::Response::Parameters::SystemStatus, Hypertable::Lib::RangeServer::Request::Parameters::DropRange, Hypertable::Lib::RangeServer::Request::Parameters::RelinquishRange, Hypertable::ProfileDataScanner, Hypertable::Lib::RangeServer::Request::Parameters::CommitLogSync, Hypertable::Lib::RangeServer::Request::Parameters::Dump, Hypertable::Lib::RangeServer::Request::Parameters::UpdateSchema, Hypertable::TableIdentifier, Hypertable::Lib::Master::Request::Parameters::RecreateIndexTables, Hypertable::RecoveredServers, Hypertable::FsBroker::Lib::Request::Parameters::Pread, Hypertable::Lib::Master::Request::Parameters::DropTable, Hypertable::Lib::Master::Request::Parameters::CreateNamespace, Hypertable::Lib::Master::Request::Parameters::CreateTable, Hypertable::Lib::Master::Request::Parameters::DropNamespace, Hypertable::Lib::Master::Request::Parameters::RenameTable, Hypertable::Lib::RangeServer::Response::Parameters::AcknowledgeLoad, Hypertable::Lib::RangeServer::Request::Parameters::TableMaintenanceDisable, Hypertable::Lib::RangeServer::Request::Parameters::TableMaintenanceEnable, Hypertable::Lib::RangeServer::Response::Parameters::GetStatistics, Hypertable::Lib::Master::Request::Parameters::SetState, Hypertable::Lib::RangeServer::Request::Parameters::AcknowledgeLoad, Hypertable::Lib::RangeServer::Request::Parameters::DestroyScanner, Hypertable::Lib::RangeServer::Request::Parameters::FetchScanblock, Hypertable::Lib::RangeServer::Response::Parameters::Status, Hypertable::Lib::Master::Request::Parameters::Balance, Hypertable::Lib::RangeServer::Request::Parameters::DropTable, Hypertable::Lib::RangeServer::Request::Parameters::Heapcheck, Hypertable::Lib::CellInterval, Hypertable::Lib::Master::Request::Parameters::Stop, Hypertable::FsBroker::Lib::Request::Parameters::Append, Hypertable::FsBroker::Lib::Request::Parameters::Open, Hypertable::Lib::Master::Request::Parameters::FetchResult, Hypertable::RangeSpec, Hypertable::Lib::RowInterval, Hypertable::FsBroker::Lib::Response::Parameters::Append, Hypertable::SystemVariable::Spec, Hypertable::FsBroker::Lib::Request::Parameters::Length, Hypertable::Lib::RangeServerRecovery::FragmentReplayPlan, Hypertable::FsBroker::Lib::Request::Parameters::Read, Hypertable::FsBroker::Lib::Request::Parameters::Rename, Hypertable::FsBroker::Lib::Request::Parameters::Seek, Hypertable::FsBroker::Lib::Response::Parameters::Read, Hypertable::BalancePlan, Hypertable::FsBroker::Lib::Response::Parameters::Readdir, Hypertable::FsBroker::Lib::Response::Parameters::Status, Hypertable::FsBroker::Lib::Request::Parameters::Close, Hypertable::FsBroker::Lib::Request::Parameters::Debug, Hypertable::FsBroker::Lib::Request::Parameters::Exists, Hypertable::FsBroker::Lib::Request::Parameters::Flush, Hypertable::FsBroker::Lib::Request::Parameters::Mkdirs, Hypertable::FsBroker::Lib::Request::Parameters::Readdir, Hypertable::FsBroker::Lib::Request::Parameters::Remove, Hypertable::FsBroker::Lib::Request::Parameters::Rmdir, Hypertable::FsBroker::Lib::Request::Parameters::Shutdown, Hypertable::FsBroker::Lib::Request::Parameters::Sync, Hypertable::FsBroker::Lib::Response::Parameters::Exists, Hypertable::FsBroker::Lib::Response::Parameters::Length, Hypertable::FsBroker::Lib::Response::Parameters::Open, and Hypertable::MetaLog::EntityTaskAcknowledgeRelinquish.

void Serializable::encode ( uint8_t **  bufp) const
virtual

Writes serialized representation of object to a buffer.

This function encodes a serialized representation of the object, starting with a header that includes the encoding version and the serialized length of the object. After the header, the object per-se is encoded with encode_internal().

Parameters
bufpAddress of destination buffer pointer (advanced by call)

Encoding is as follows:

Encoding Description
1 byte Encoding version as returned by encoding_version()
vint Length of encoded object as returned by encoded_length_internal()
variable Object encoded with encode_internal()

Reimplemented in Hypertable::MetaLog::EntityRecover.

Definition at line 64 of file Serializable.cc.

virtual void Hypertable::Serializable::encode_internal ( uint8_t **  bufp) const
protectedpure virtual

Writes serialized representation of object to a buffer.

This function is to be overridden by derived classes and should encode the object per-se.

Parameters
bufpAddress of destination buffer pointer (advanced by call)

Implemented in Hypertable::Operation, Hypertable::BalancePlanAuthority, Hypertable::Lib::ScanSpec, Hypertable::MetaLogEntityRange, Hypertable::MetaLog::EntityRecover, Hypertable::SystemState, Hypertable::Status, Hypertable::RangeState, Hypertable::Lib::RangeServerRecovery::ReplayPlan, Hypertable::MetaLogEntityRemoveOkLogs, Hypertable::Lib::RangeServer::Request::Parameters::ReplayFragments, Hypertable::Lib::Master::Request::Parameters::MoveRange, Hypertable::Filesystem::Dirent, Hypertable::Lib::RangeServer::Request::Parameters::PhantomLoad, Hypertable::Lib::RangeServerRecovery::ReceiverPlan, Hypertable::Lib::RangeServer::Response::Parameters::CreateScanner, Hypertable::Lib::Master::Request::Parameters::PhantomCommitComplete, Hypertable::Lib::Master::Request::Parameters::PhantomPrepareComplete, Hypertable::Lib::Master::Request::Parameters::ReplayComplete, Hypertable::Lib::RangeServerRecovery::ServerReceiverPlan, Hypertable::TableParts, Hypertable::Lib::RangeServer::Request::Parameters::PhantomCommitRanges, Hypertable::Lib::RangeServer::Request::Parameters::PhantomPrepareRanges, Hypertable::Lib::Master::Request::Parameters::RegisterServer, Hypertable::Lib::Master::Request::Parameters::RelinquishAcknowledge, Hypertable::Lib::RangeServer::Request::Parameters::LoadRange, Hypertable::RangeServerConnection, Hypertable::Lib::ColumnPredicate, Hypertable::Lib::RangeServer::Request::Parameters::PhantomUpdate, Hypertable::Lib::RangeServer::Request::Parameters::Update, Hypertable::FsBroker::Lib::Request::Parameters::Create, Hypertable::Lib::Master::Response::Parameters::RegisterServer, Hypertable::Lib::RangeServer::Request::Parameters::Compact, Hypertable::Lib::RangeServer::Request::Parameters::CreateScanner, Hypertable::Lib::RangeServer::Request::Parameters::DumpPseudoTable, Hypertable::ProfileDataScanner, Hypertable::Lib::Master::Request::Parameters::ReplayStatus, Hypertable::FsBroker::Lib::Request::Parameters::Pread, Hypertable::Lib::Master::Request::Parameters::Compact, Hypertable::RangeMoveSpec, Hypertable::Lib::RangeServerRecovery::Plan, Hypertable::Lib::Master::Request::Parameters::AlterTable, Hypertable::Lib::RangeServer::Request::Parameters::GetStatistics, Hypertable::Lib::RangeServer::Request::Parameters::SetState, Hypertable::QualifiedRangeSpec, Hypertable::Lib::Master::Response::Parameters::Status, Hypertable::Lib::Master::Response::Parameters::SystemStatus, Hypertable::Lib::RangeServer::Request::Parameters::DropRange, Hypertable::Lib::RangeServer::Request::Parameters::RelinquishRange, Hypertable::Lib::RangeServer::Request::Parameters::CommitLogSync, Hypertable::Lib::RangeServer::Request::Parameters::Dump, Hypertable::Lib::RangeServer::Request::Parameters::UpdateSchema, Hypertable::TableIdentifier, Hypertable::Lib::Master::Request::Parameters::RecreateIndexTables, Hypertable::RecoveredServers, Hypertable::Lib::Master::Request::Parameters::DropTable, Hypertable::FsBroker::Lib::Request::Parameters::Append, Hypertable::FsBroker::Lib::Request::Parameters::Open, Hypertable::Lib::Master::Request::Parameters::CreateNamespace, Hypertable::Lib::Master::Request::Parameters::CreateTable, Hypertable::Lib::Master::Request::Parameters::DropNamespace, Hypertable::Lib::Master::Request::Parameters::RenameTable, Hypertable::Lib::RangeServer::Response::Parameters::AcknowledgeLoad, Hypertable::Lib::RangeServer::Request::Parameters::TableMaintenanceDisable, Hypertable::Lib::RangeServer::Request::Parameters::TableMaintenanceEnable, Hypertable::Lib::RangeServer::Response::Parameters::GetStatistics, Hypertable::Lib::Master::Request::Parameters::SetState, Hypertable::Lib::RangeServer::Request::Parameters::AcknowledgeLoad, Hypertable::Lib::RangeServer::Request::Parameters::DestroyScanner, Hypertable::Lib::RangeServer::Request::Parameters::FetchScanblock, Hypertable::Lib::RangeServer::Response::Parameters::Status, Hypertable::Lib::Master::Request::Parameters::Balance, Hypertable::Lib::RangeServer::Request::Parameters::DropTable, Hypertable::Lib::RangeServer::Request::Parameters::Heapcheck, Hypertable::Lib::CellInterval, Hypertable::FsBroker::Lib::Response::Parameters::Append, Hypertable::Lib::Master::Request::Parameters::Stop, Hypertable::FsBroker::Lib::Request::Parameters::Length, Hypertable::Lib::Master::Request::Parameters::FetchResult, Hypertable::RangeSpec, Hypertable::FsBroker::Lib::Request::Parameters::Read, Hypertable::FsBroker::Lib::Request::Parameters::Rename, Hypertable::FsBroker::Lib::Request::Parameters::Seek, Hypertable::FsBroker::Lib::Response::Parameters::Read, Hypertable::FsBroker::Lib::Response::Parameters::Readdir, Hypertable::Lib::RowInterval, Hypertable::FsBroker::Lib::Response::Parameters::Status, Hypertable::SystemVariable::Spec, Hypertable::FsBroker::Lib::Request::Parameters::Close, Hypertable::FsBroker::Lib::Request::Parameters::Debug, Hypertable::FsBroker::Lib::Request::Parameters::Exists, Hypertable::FsBroker::Lib::Request::Parameters::Flush, Hypertable::FsBroker::Lib::Request::Parameters::Mkdirs, Hypertable::FsBroker::Lib::Request::Parameters::Readdir, Hypertable::FsBroker::Lib::Request::Parameters::Remove, Hypertable::FsBroker::Lib::Request::Parameters::Rmdir, Hypertable::FsBroker::Lib::Request::Parameters::Shutdown, Hypertable::FsBroker::Lib::Request::Parameters::Sync, Hypertable::FsBroker::Lib::Response::Parameters::Exists, Hypertable::FsBroker::Lib::Response::Parameters::Length, Hypertable::Lib::RangeServerRecovery::FragmentReplayPlan, Hypertable::FsBroker::Lib::Response::Parameters::Open, Hypertable::BalancePlan, and Hypertable::MetaLog::EntityTaskAcknowledgeRelinquish.

size_t Serializable::encoded_length ( ) const
virtual

Returns serialized object length.

Returns the serialized length of the object as encoded by encode().

See also
encode() for encoding format
Returns
Overall serialized object length

Reimplemented in Hypertable::MetaLog::EntityRecover.

Definition at line 37 of file Serializable.cc.

virtual size_t Hypertable::Serializable::encoded_length_internal ( ) const
protectedpure virtual

Returns internal serialized length.

This function is to be overridden by derived classes and should return the length of the the serialized object per-se.

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

Implemented in Hypertable::Operation, Hypertable::BalancePlanAuthority, Hypertable::Lib::ScanSpec, Hypertable::MetaLogEntityRange, Hypertable::MetaLog::EntityRecover, Hypertable::SystemState, Hypertable::Status, Hypertable::RangeState, Hypertable::Lib::RangeServerRecovery::ReplayPlan, Hypertable::MetaLogEntityRemoveOkLogs, Hypertable::Lib::RangeServer::Request::Parameters::ReplayFragments, Hypertable::Lib::Master::Request::Parameters::MoveRange, Hypertable::Filesystem::Dirent, Hypertable::Lib::RangeServer::Request::Parameters::PhantomLoad, Hypertable::Lib::RangeServerRecovery::ReceiverPlan, Hypertable::Lib::RangeServer::Response::Parameters::CreateScanner, Hypertable::TableParts, Hypertable::Lib::Master::Request::Parameters::PhantomCommitComplete, Hypertable::Lib::Master::Request::Parameters::PhantomPrepareComplete, Hypertable::Lib::Master::Request::Parameters::ReplayComplete, Hypertable::Lib::RangeServerRecovery::ServerReceiverPlan, Hypertable::Lib::RangeServer::Request::Parameters::PhantomCommitRanges, Hypertable::Lib::RangeServer::Request::Parameters::PhantomPrepareRanges, Hypertable::RangeServerConnection, Hypertable::Lib::Master::Request::Parameters::RegisterServer, Hypertable::Lib::Master::Request::Parameters::RelinquishAcknowledge, Hypertable::Lib::RangeServer::Request::Parameters::LoadRange, Hypertable::FsBroker::Lib::Request::Parameters::Create, Hypertable::Lib::ColumnPredicate, Hypertable::Lib::RangeServer::Request::Parameters::PhantomUpdate, Hypertable::Lib::RangeServer::Request::Parameters::Update, Hypertable::Lib::Master::Response::Parameters::RegisterServer, Hypertable::ProfileDataScanner, Hypertable::Lib::RangeServer::Request::Parameters::Compact, Hypertable::Lib::RangeServer::Request::Parameters::CreateScanner, Hypertable::Lib::RangeServer::Request::Parameters::DumpPseudoTable, Hypertable::FsBroker::Lib::Request::Parameters::Pread, Hypertable::Lib::Master::Request::Parameters::ReplayStatus, Hypertable::Lib::Master::Request::Parameters::Compact, Hypertable::RangeMoveSpec, Hypertable::Lib::RangeServerRecovery::Plan, Hypertable::Lib::Master::Request::Parameters::AlterTable, Hypertable::Lib::RangeServer::Request::Parameters::GetStatistics, Hypertable::Lib::RangeServer::Request::Parameters::SetState, Hypertable::QualifiedRangeSpec, Hypertable::Lib::Master::Response::Parameters::Status, Hypertable::Lib::Master::Response::Parameters::SystemStatus, Hypertable::Lib::RangeServer::Request::Parameters::DropRange, Hypertable::Lib::RangeServer::Request::Parameters::RelinquishRange, Hypertable::Lib::RangeServer::Request::Parameters::CommitLogSync, Hypertable::Lib::RangeServer::Request::Parameters::Dump, Hypertable::Lib::RangeServer::Request::Parameters::UpdateSchema, Hypertable::TableIdentifier, Hypertable::FsBroker::Lib::Request::Parameters::Append, Hypertable::FsBroker::Lib::Request::Parameters::Open, Hypertable::Lib::Master::Request::Parameters::RecreateIndexTables, Hypertable::RecoveredServers, Hypertable::Lib::Master::Request::Parameters::DropTable, Hypertable::Lib::Master::Request::Parameters::CreateNamespace, Hypertable::Lib::Master::Request::Parameters::CreateTable, Hypertable::Lib::Master::Request::Parameters::DropNamespace, Hypertable::Lib::Master::Request::Parameters::RenameTable, Hypertable::Lib::RangeServer::Response::Parameters::AcknowledgeLoad, Hypertable::Lib::RangeServer::Request::Parameters::TableMaintenanceDisable, Hypertable::Lib::RangeServer::Request::Parameters::TableMaintenanceEnable, Hypertable::Lib::RangeServer::Response::Parameters::GetStatistics, Hypertable::Lib::Master::Request::Parameters::SetState, Hypertable::Lib::RangeServer::Request::Parameters::AcknowledgeLoad, Hypertable::Lib::RangeServer::Request::Parameters::DestroyScanner, Hypertable::Lib::RangeServer::Request::Parameters::FetchScanblock, Hypertable::Lib::RangeServer::Response::Parameters::Status, Hypertable::FsBroker::Lib::Response::Parameters::Append, Hypertable::Lib::Master::Request::Parameters::Balance, Hypertable::Lib::RangeServer::Request::Parameters::DropTable, Hypertable::Lib::RangeServer::Request::Parameters::Heapcheck, Hypertable::FsBroker::Lib::Request::Parameters::Length, Hypertable::Lib::CellInterval, Hypertable::FsBroker::Lib::Request::Parameters::Read, Hypertable::FsBroker::Lib::Request::Parameters::Rename, Hypertable::FsBroker::Lib::Request::Parameters::Seek, Hypertable::FsBroker::Lib::Response::Parameters::Read, Hypertable::Lib::Master::Request::Parameters::Stop, Hypertable::FsBroker::Lib::Response::Parameters::Readdir, Hypertable::Lib::Master::Request::Parameters::FetchResult, Hypertable::RangeSpec, Hypertable::FsBroker::Lib::Response::Parameters::Status, Hypertable::Lib::RowInterval, Hypertable::FsBroker::Lib::Request::Parameters::Close, Hypertable::FsBroker::Lib::Request::Parameters::Debug, Hypertable::FsBroker::Lib::Request::Parameters::Exists, Hypertable::FsBroker::Lib::Request::Parameters::Flush, Hypertable::FsBroker::Lib::Request::Parameters::Mkdirs, Hypertable::FsBroker::Lib::Request::Parameters::Readdir, Hypertable::FsBroker::Lib::Request::Parameters::Remove, Hypertable::FsBroker::Lib::Request::Parameters::Rmdir, Hypertable::FsBroker::Lib::Request::Parameters::Shutdown, Hypertable::FsBroker::Lib::Request::Parameters::Sync, Hypertable::FsBroker::Lib::Response::Parameters::Exists, Hypertable::FsBroker::Lib::Response::Parameters::Length, Hypertable::FsBroker::Lib::Response::Parameters::Open, Hypertable::SystemVariable::Spec, Hypertable::Lib::RangeServerRecovery::FragmentReplayPlan, Hypertable::BalancePlan, and Hypertable::MetaLog::EntityTaskAcknowledgeRelinquish.

virtual uint8_t Hypertable::Serializable::encoding_version ( ) const
protectedpure virtual

Returns encoding version.

Returns
Encoding version

Implemented in Hypertable::Operation, Hypertable::BalancePlanAuthority, Hypertable::Lib::ScanSpec, Hypertable::MetaLogEntityRange, Hypertable::MetaLog::EntityRecover, Hypertable::SystemState, Hypertable::Status, Hypertable::RangeState, Hypertable::Lib::RangeServerRecovery::ReplayPlan, Hypertable::MetaLogEntityRemoveOkLogs, Hypertable::Lib::RangeServer::Request::Parameters::ReplayFragments, Hypertable::Filesystem::Dirent, Hypertable::Lib::Master::Request::Parameters::MoveRange, Hypertable::Lib::RangeServer::Request::Parameters::PhantomLoad, Hypertable::TableParts, Hypertable::Lib::RangeServerRecovery::ReceiverPlan, Hypertable::Lib::RangeServer::Response::Parameters::CreateScanner, Hypertable::RangeServerConnection, Hypertable::Lib::Master::Request::Parameters::PhantomCommitComplete, Hypertable::Lib::Master::Request::Parameters::PhantomPrepareComplete, Hypertable::Lib::Master::Request::Parameters::ReplayComplete, Hypertable::Lib::RangeServerRecovery::ServerReceiverPlan, Hypertable::FsBroker::Lib::Request::Parameters::Create, Hypertable::Lib::RangeServer::Request::Parameters::PhantomCommitRanges, Hypertable::Lib::RangeServer::Request::Parameters::PhantomPrepareRanges, Hypertable::Lib::Master::Request::Parameters::RegisterServer, Hypertable::Lib::Master::Request::Parameters::RelinquishAcknowledge, Hypertable::Lib::RangeServer::Request::Parameters::LoadRange, Hypertable::Lib::ColumnPredicate, Hypertable::Lib::RangeServer::Request::Parameters::PhantomUpdate, Hypertable::Lib::RangeServer::Request::Parameters::Update, Hypertable::ProfileDataScanner, Hypertable::FsBroker::Lib::Request::Parameters::Pread, Hypertable::Lib::Master::Response::Parameters::RegisterServer, Hypertable::Lib::RangeServer::Request::Parameters::Compact, Hypertable::Lib::RangeServer::Request::Parameters::CreateScanner, Hypertable::Lib::RangeServer::Request::Parameters::DumpPseudoTable, Hypertable::Lib::Master::Request::Parameters::ReplayStatus, Hypertable::Lib::Master::Request::Parameters::Compact, Hypertable::RangeMoveSpec, Hypertable::Lib::RangeServerRecovery::Plan, Hypertable::Lib::Master::Request::Parameters::AlterTable, Hypertable::Lib::RangeServer::Request::Parameters::GetStatistics, Hypertable::Lib::RangeServer::Request::Parameters::SetState, Hypertable::FsBroker::Lib::Request::Parameters::Append, Hypertable::FsBroker::Lib::Request::Parameters::Open, Hypertable::Lib::Master::Response::Parameters::Status, Hypertable::Lib::Master::Response::Parameters::SystemStatus, Hypertable::QualifiedRangeSpec, Hypertable::Lib::RangeServer::Request::Parameters::DropRange, Hypertable::Lib::RangeServer::Request::Parameters::RelinquishRange, Hypertable::Lib::RangeServer::Request::Parameters::CommitLogSync, Hypertable::Lib::RangeServer::Request::Parameters::Dump, Hypertable::Lib::RangeServer::Request::Parameters::UpdateSchema, Hypertable::TableIdentifier, Hypertable::Lib::Master::Request::Parameters::RecreateIndexTables, Hypertable::RecoveredServers, Hypertable::Lib::Master::Request::Parameters::DropTable, Hypertable::FsBroker::Lib::Response::Parameters::Append, Hypertable::Lib::Master::Request::Parameters::CreateNamespace, Hypertable::Lib::Master::Request::Parameters::CreateTable, Hypertable::Lib::Master::Request::Parameters::DropNamespace, Hypertable::Lib::Master::Request::Parameters::RenameTable, Hypertable::Lib::RangeServer::Response::Parameters::AcknowledgeLoad, Hypertable::FsBroker::Lib::Request::Parameters::Length, Hypertable::Lib::RangeServer::Request::Parameters::TableMaintenanceDisable, Hypertable::Lib::RangeServer::Request::Parameters::TableMaintenanceEnable, Hypertable::Lib::RangeServer::Response::Parameters::GetStatistics, Hypertable::FsBroker::Lib::Request::Parameters::Read, Hypertable::FsBroker::Lib::Request::Parameters::Rename, Hypertable::FsBroker::Lib::Request::Parameters::Seek, Hypertable::FsBroker::Lib::Response::Parameters::Read, Hypertable::Lib::Master::Request::Parameters::SetState, Hypertable::Lib::RangeServer::Request::Parameters::AcknowledgeLoad, Hypertable::Lib::RangeServer::Request::Parameters::DestroyScanner, Hypertable::Lib::RangeServer::Request::Parameters::FetchScanblock, Hypertable::Lib::RangeServer::Response::Parameters::Status, Hypertable::FsBroker::Lib::Response::Parameters::Readdir, Hypertable::Lib::Master::Request::Parameters::Balance, Hypertable::Lib::RangeServer::Request::Parameters::DropTable, Hypertable::Lib::RangeServer::Request::Parameters::Heapcheck, Hypertable::FsBroker::Lib::Response::Parameters::Status, Hypertable::Lib::CellInterval, Hypertable::Lib::Master::Request::Parameters::Stop, Hypertable::Lib::Master::Request::Parameters::FetchResult, Hypertable::RangeSpec, Hypertable::FsBroker::Lib::Request::Parameters::Close, Hypertable::FsBroker::Lib::Request::Parameters::Debug, Hypertable::FsBroker::Lib::Request::Parameters::Exists, Hypertable::FsBroker::Lib::Request::Parameters::Flush, Hypertable::FsBroker::Lib::Request::Parameters::Mkdirs, Hypertable::FsBroker::Lib::Request::Parameters::Readdir, Hypertable::FsBroker::Lib::Request::Parameters::Remove, Hypertable::FsBroker::Lib::Request::Parameters::Rmdir, Hypertable::FsBroker::Lib::Request::Parameters::Shutdown, Hypertable::FsBroker::Lib::Request::Parameters::Sync, Hypertable::FsBroker::Lib::Response::Parameters::Exists, Hypertable::FsBroker::Lib::Response::Parameters::Length, Hypertable::FsBroker::Lib::Response::Parameters::Open, Hypertable::Lib::RowInterval, Hypertable::SystemVariable::Spec, Hypertable::Lib::RangeServerRecovery::FragmentReplayPlan, Hypertable::MetaLog::EntityTaskAcknowledgeRelinquish, and Hypertable::BalancePlan.


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