Tkrzw
Public Member Functions | Public Attributes | List of all members
tkrzw::TreeRecord Struct Referencefinal

Key and value record structure in the file tree database. More...

#include <tkrzw_dbm_tree_impl.h>

Public Member Functions

std::string_view GetKey () const
 Gets the key data. More...
 
std::string_view GetValue () const
 Gets the value data. More...
 
int32_t GetSerializedSize () const
 Gets the serialized size. More...
 

Public Attributes

int32_t key_size
 The size of the key. More...
 
int32_t value_size
 The size of the value. More...
 

Detailed Description

Key and value record structure in the file tree database.

Member Function Documentation

◆ GetKey()

std::string_view tkrzw::TreeRecord::GetKey ( ) const

Gets the key data.

Returns
The key data.

◆ GetValue()

std::string_view tkrzw::TreeRecord::GetValue ( ) const

Gets the value data.

Returns
The value data.

◆ GetSerializedSize()

int32_t tkrzw::TreeRecord::GetSerializedSize ( ) const

Gets the serialized size.

Returns
The serialized size.

Member Data Documentation

◆ key_size

int32_t tkrzw::TreeRecord::key_size

The size of the key.

◆ value_size

int32_t tkrzw::TreeRecord::value_size

The size of the value.