hybridse::vm::RowHandler

#include <catalog.h>

A row operation abstraction.

Summary

Public functions

GetIterator() override

std::unique_ptr< RowIterator > Return null since GetIterator isn't supported for a row.

GetRawIterator() override

RowIterator * Return null since GetRawIterator isn't supported for a row,.

GetCount() override

const uint64_t Return 0 since Getcount isn't supported for a row.

At(uint64_t pos) override

Row Return 0 since Getcount isn't supported for a row.

GetHanlderType() override

const Row & Return value of row.

const std::string

Inherited members

Inherited by hybridse::vm::AysncRowHandler, hybridse::vm::ErrorRowHandler, hybridse::vm::MemRowHandler

Inherited from hybridse::vm::DataHandler

Inherited Public functions

const Schema * Return table schema.

GetName() =0

const std::string & Return table name.

const std::string & Return the name of database.

base::Status Return dataset status. Default is hybridse::common::kOk.

Inherited from hybridse::codec::ListV< Row >

Inherited Public functions

Public Functions

function RowHandler

inline RowHandler()

function ~RowHandler

inline virtual ~RowHandler()

function GetIterator

inline virtual std::unique_ptr< RowIterator > GetIterator() override

Return null since GetIterator isn't supported for a row.

Reimplements: hybridse::codec::ListV::GetIterator

function GetRawIterator

inline virtual RowIterator * GetRawIterator() override

Return null since GetRawIterator isn't supported for a row,.

Reimplements: hybridse::codec::ListV::GetRawIterator

function GetCount

inline virtual const uint64_t GetCount() override

Return 0 since Getcount isn't supported for a row.

Reimplements: hybridse::codec::ListV::GetCount

function At

inline virtual Row At(
    uint64_t pos
) override

Return 0 since Getcount isn't supported for a row.

Reimplements: hybridse::codec::ListV::At

function GetHanlderType

inline virtual const HandlerType GetHanlderType() override

Reimplements: hybridse::vm::DataHandler::GetHanlderType

Return the HandlerType of the row handler. Return HandlerType::kRowHandler by default

function GetValue

virtual const Row & GetValue() =0

Return value of row.

Reimplemented by: hybridse::vm::ErrorRowHandler::GetValue, hybridse::vm::AysncRowHandler::GetValue, hybridse::vm::MemRowHandler::GetValue

function GetHandlerTypeName

inline virtual const std::string GetHandlerTypeName() override

Return: name of handler type, default is "RowHandler"

Reimplements: hybridse::vm::DataHandler::GetHandlerTypeName

Reimplemented by: hybridse::vm::ErrorRowHandler::GetHandlerTypeName, hybridse::vm::MemRowHandler::GetHandlerTypeName

Get the name of handler type.

Last updated