taco-db  0.1.0
Public Member Functions | Private Attributes | List of all members
taco::Record Class Reference

#include <storage/Record.h>

Public Member Functions

 Record ()
 
 Record (const char *buf, FieldOffset buflen)
 
 Record (const maxaligned_char_buf &buf)
 
 Record (const Record &other)=default
 
Recordoperator= (const Record &other)=default
 
const char *& GetData ()
 
const char * GetData () const
 
FieldOffsetGetLength ()
 
FieldOffset GetLength () const
 
void Clear ()
 
bool IsValid () const
 
RecordIdGetRecordId ()
 
const RecordIdGetRecordId () const
 

Private Attributes

const char * m_buffer
 
FieldOffset m_buflen
 
RecordId m_rid
 

Constructor & Destructor Documentation

◆ Record() [1/4]

taco::Record::Record ( )
inline

◆ Record() [2/4]

taco::Record::Record ( const char *  buf,
FieldOffset  buflen 
)
inline

◆ Record() [3/4]

taco::Record::Record ( const maxaligned_char_buf buf)
inline

◆ Record() [4/4]

taco::Record::Record ( const Record other)
default

Member Function Documentation

◆ Clear()

void taco::Record::Clear ( )
inline

◆ GetData() [1/2]

const char*& taco::Record::GetData ( )
inline

◆ GetData() [2/2]

const char* taco::Record::GetData ( ) const
inline

◆ GetLength() [1/2]

FieldOffset& taco::Record::GetLength ( )
inline

◆ GetLength() [2/2]

FieldOffset taco::Record::GetLength ( ) const
inline

◆ GetRecordId() [1/2]

RecordId& taco::Record::GetRecordId ( )
inline

◆ GetRecordId() [2/2]

const RecordId& taco::Record::GetRecordId ( ) const
inline

◆ IsValid()

bool taco::Record::IsValid ( ) const
inline

◆ operator=()

Record& taco::Record::operator= ( const Record other)
default

Member Data Documentation

◆ m_buffer

const char* taco::Record::m_buffer
private

◆ m_buflen

FieldOffset taco::Record::m_buflen
private

◆ m_rid

RecordId taco::Record::m_rid
private

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