hybridse::vm::Tablet

#include <catalog.h>

A component responsible to Query subtask.

Summary

Public functions

GetName() const =0

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

SubQuery(uint32_t task_id, const std::string & db, const std::string & sql, const hybridse::codec::Row & row, const bool is_procedure, const bool is_debug) =0

std::shared_ptr< RowHandler >

SubQuery(uint32_t task_id, const std::string & db, const std::string & sql, const std::set< size_t > & common_column_indices, const std::vector< Row > & in_rows, const bool request_is_common, const bool is_procedure, const bool is_debug) =0

std::shared_ptr< TableHandler >

Public Functions

function Tablet

inline Tablet()

function ~Tablet

inline virtual ~Tablet()

function GetName

virtual const std::string & GetName() const =0

Return the name of tablet.

Reimplemented by: hybridse::vm::LocalTablet::GetName

function SubQuery

virtual std::shared_ptr< RowHandler > SubQuery(
    uint32_t task_id,
    const std::string & db,
    const std::string & sql,
    const hybridse::codec::Row & row,
    const bool is_procedure,
    const bool is_debug
) =0

Reimplemented by: hybridse::vm::LocalTablet::SubQuery

Return RowHandler by calling request-mode query on subtask which is specified by task_id and sql string

function SubQuery

virtual std::shared_ptr< TableHandler > SubQuery(
    uint32_t task_id,
    const std::string & db,
    const std::string & sql,
    const std::set< size_t > & common_column_indices,
    const std::vector< Row > & in_rows,
    const bool request_is_common,
    const bool is_procedure,
    const bool is_debug
) =0

Reimplemented by: hybridse::vm::LocalTablet::SubQuery

Return TableHandler by calling batch-request-mode query on subtask which is specified by task_id and sql

Last updated