hybridse::codec::RowBuilder

#include <fe_row_codec.h>

Summary

Public functions

~RowBuilder() =default

CalTotalLength(uint32_t string_length)

uint32_t

SetBuffer(int8_t * buf, uint32_t size)

bool

SetBuffer(int64_t buf_handle, uint32_t size)

bool

SetBuffer(const hybridse::base::RawBuffer & buf)

bool

AppendBool(bool val)

bool

AppendInt32(int32_t val)

bool

AppendInt16(int16_t val)

bool

AppendInt64(int64_t val)

bool

AppendTimestamp(int64_t val)

bool

AppendDate(int32_t year, int32_t month, int32_t day)

bool

AppendFloat(float val)

bool

AppendDouble(double val)

bool

AppendString(const char * val, uint32_t length)

bool

Public Functions

function RowBuilder

explicit RowBuilder(
    const hybridse::codec::Schema & schema
)

function ~RowBuilder

~RowBuilder() =default

function CalTotalLength

uint32_t CalTotalLength(
    uint32_t string_length
)

function SetBuffer

bool SetBuffer(
    int8_t * buf,
    uint32_t size
)

function SetBuffer

bool SetBuffer(
    int64_t buf_handle,
    uint32_t size
)

function SetBuffer

bool SetBuffer(
    const hybridse::base::RawBuffer & buf
)

function AppendBool

bool AppendBool(
    bool val
)

function AppendInt32

bool AppendInt32(
    int32_t val
)

function AppendInt16

bool AppendInt16(
    int16_t val
)

function AppendInt64

bool AppendInt64(
    int64_t val
)

function AppendTimestamp

bool AppendTimestamp(
    int64_t val
)

function AppendDate

bool AppendDate(
    int32_t year,
    int32_t month,
    int32_t day
)

function AppendFloat

bool AppendFloat(
    float val
)

function AppendDouble

bool AppendDouble(
    double val
)

function AppendString

bool AppendString(
    const char * val,
    uint32_t length
)

function AppendNULL

bool AppendNULL()

Last updated