hybridse::codec::RowView

#include <fe_row_codec.h>

Summary

Public functions

RowView(const hybridse::codec::Schema & schema, const int8_t * row, uint32_t size)

RowView(const RowView & row_view)

~RowView() =default

Reset(const int8_t * row, uint32_t size)

bool

Reset(const int8_t * row)

bool

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

bool

GetBool(uint32_t idx, bool * val)

int32_t

GetInt32(uint32_t idx, int32_t * val)

int32_t

GetInt64(uint32_t idx, int64_t * val)

int32_t

GetTimestamp(uint32_t idx, int64_t * val)

int32_t

GetInt16(uint32_t idx, int16_t * val)

int32_t

GetFloat(uint32_t idx, float * val)

int32_t

GetDouble(uint32_t idx, double * val)

int32_t

GetString(uint32_t idx, const char ** val, uint32_t * length)

int32_t

GetDate(uint32_t idx, int32_t * year, int32_t * month, int32_t * day)

int32_t

GetDate(uint32_t idx, int32_t * date)

int32_t

GetBoolUnsafe(uint32_t idx)

bool

GetInt32Unsafe(uint32_t idx)

int32_t

GetInt64Unsafe(uint32_t idx)

int64_t

GetTimestampUnsafe(uint32_t idx)

int64_t

GetDateUnsafe(uint32_t idx)

int32_t

GetYearUnsafe(int32_t days)

int32_t

GetMonthUnsafe(int32_t days)

int32_t

GetDayUnsafe(int32_t idx)

int32_t

GetInt16Unsafe(uint32_t idx)

int16_t

GetFloatUnsafe(uint32_t idx)

float

GetDoubleUnsafe(uint32_t idx)

double

GetStringUnsafe(uint32_t idx)

std::string

IsNULL(uint32_t idx)

bool

uint32_t

GetValue(const int8_t * row, uint32_t idx, ::hybridse::type::Type type, void * val) const

int32_t

GetInteger(const int8_t * row, uint32_t idx, ::hybridse::type::Type type, int64_t * val)

int32_t

GetValue(const int8_t * row, uint32_t idx, const char ** val, uint32_t * length) const

int32_t

GetAsString(uint32_t idx)

std::string

std::string

GetPrimaryFieldOffset(uint32_t idx)

int32_t

GetSchema() const

const Schema *

IsNULL(const int8_t * row, uint32_t idx) const

bool

GetSize(const int8_t * row)

uint32_t

Public Functions

function RowView

function RowView

function RowView

function RowView

function ~RowView

function Reset

function Reset

function Reset

function GetBool

function GetInt32

function GetInt64

function GetTimestamp

function GetInt16

function GetFloat

function GetDouble

function GetString

function GetDate

function GetDate

function GetBoolUnsafe

function GetInt32Unsafe

function GetInt64Unsafe

function GetTimestampUnsafe

function GetDateUnsafe

function GetYearUnsafe

function GetMonthUnsafe

function GetDayUnsafe

function GetInt16Unsafe

function GetFloatUnsafe

function GetDoubleUnsafe

function GetStringUnsafe

function IsNULL

function GetSize

function GetValue

function GetInteger

function GetValue

function GetAsString

function GetRowString

function GetPrimaryFieldOffset

function GetSchema

function IsNULL

function GetSize

Last updated