Class MergeOperand

Inheritance Relationships

Derived Types

Class Documentation

class gkfs::metadata::MergeOperand

Base class for merge operands.

Subclassed by gkfs::metadata::CreateOperand, gkfs::metadata::DecreaseSizeOperand, gkfs::metadata::IncreaseSizeOperand

Public Functions

std::string serialize() const

Public Static Functions

static OperandID get_id(const rdb::Slice &serialized_op)
static rdb::Slice get_params(const rdb::Slice &serialized_op)

Public Static Attributes

static constexpr char operand_id_suffix = ':'

Protected Functions

std::string serialize_id() const
virtual std::string serialize_params() const = 0
virtual OperandID id() const = 0