hybridse::vm

Classes

Name

class

hybridse::vm::AysncRowHandler A wrapper of table handler which is used as a asynchronous row handler.

class

hybridse::vm::BatchRequestRunSession BatchRequestRunSession is a kind of RunSession designed for batch request mode query.

class

hybridse::vm::BatchRunSession BatchRunSession is a kind of RunSession designed for batch mode query.

class

hybridse::vm::Catalog A Catalog handler which defines a set of operation for, e.g, database, table and index management.

class

hybridse::vm::DataHandler The basic dataset operation abstraction.

class

hybridse::vm::Engine An engine is responsible to compile SQL on the specific Catalog.

class

hybridse::vm::EngineOptions An options class for controlling engine behaviour.

class

hybridse::vm::ErrorRowHandler A row's error handler, representing a error row.

class

hybridse::vm::ErrorTableHandler A table dataset's error handler, representing a error table.

struct

hybridse::vm::ExplainOutput An options class for controlling runtime interpreter behavior.

class

hybridse::vm::LocalTablet Local tablet is responsible to run a task locally.

class

hybridse::vm::PartitionHandler The abstraction of partition dataset operation.

class

hybridse::vm::RequestRunSession RequestRunSession is a kind of RunSession designed for request mode query.

class

hybridse::vm::RowHandler A row operation abstraction.

class

hybridse::vm::RunSession A RunSession maintain SQL running context, including compile information, procedure name.

class

hybridse::vm::TableHandler A table dataset operation abstraction.

class

hybridse::vm::Tablet A component responsible to Query subtask.

Types

Name

enum

HandlerType { kRowHandler, kTableHandler, kPartitionHandler}

enum

OrderType { kDescOrder, kAscOrder, kNoneOrder}

enum

EngineMode { kBatchMode, kRequestMode, kBatchRequestMode}

enum

ComileType { kCompileSql}

typedef ::google::protobuf::RepeatedPtrField<::hybridse::type::IndexDef >

typedef std::map< std::string, ColInfo >

typedef std::map< std::string, IndexSt >

typedef std::map< EngineMode, std::map< std::string, boost::compute::detail::lru_cache< std::string, std::shared_ptr< CompileInfo > > > >

typedef std::deque< std::pair< uint64_t, Row > >

typedef std::vector< Row >

typedef std::map< std::string, MemTimeTable, std::greater< std::string > >

typedef std::map< std::string, std::map< std::string, std::shared_ptr< MemTimeTableHandler > > >

typedef std::map< std::string, std::shared_ptr< type::Database > >

Functions

Name

std::string

void

GetRowIter(int8_t * input, int8_t * iter)

bool

RowIterHasNext(int8_t * iter)

void

RowIterNext(int8_t * iter)

int8_t *

RowIterGetCurSlice(int8_t * iter, size_t idx)

size_t

RowIterGetCurSliceSize(int8_t * iter, size_t idx)

void

RowIterDelete(int8_t * iter)

int8_t *

RowGetSlice(int8_t * row_ptr, size_t idx)

size_t

RowGetSliceSize(int8_t * row_ptr, size_t idx)

Attributes

Name

constexpr uint32_t

Types Documentation

enum HandlerType

Enumerator
Value
Description

kRowHandler

kTableHandler

kPartitionHandler

enum OrderType

Enumerator
Value
Description

kDescOrder

kAscOrder

kNoneOrder

enum EngineMode

Enumerator
Value
Description

kBatchMode

kRequestMode

kBatchRequestMode

enum ComileType

Enumerator
Value
Description

kCompileSql

typedef IndexList

typedef ::google::protobuf::RepeatedPtrField<::hybridse::type::IndexDef> hybridse::vm::IndexList;

typedef Types

typedef std::map<std::string, ColInfo> hybridse::vm::Types;

typedef IndexHint

typedef std::map<std::string, IndexSt> hybridse::vm::IndexHint;

typedef EngineLRUCache

typedef std::map< EngineMode, std::map<std::string, boost::compute::detail::lru_cache< std::string, std::shared_ptr<CompileInfo> > > > hybridse::vm::EngineLRUCache;

typedef MemTimeTable

typedef std::deque<std::pair<uint64_t, Row> > hybridse::vm::MemTimeTable;

typedef MemTable

typedef std::vector<Row> hybridse::vm::MemTable;

typedef MemSegmentMap

typedef std::map<std::string, MemTimeTable, std::greater<std::string> > hybridse::vm::MemSegmentMap;

typedef MemTables

typedef std::map<std::string, std::map<std::string, std::shared_ptr<MemTimeTableHandler> > > hybridse::vm::MemTables;

typedef Databases

typedef std::map<std::string, std::shared_ptr<type::Database> > hybridse::vm::Databases;

Functions Documentation

function EngineModeName

std::string EngineModeName(
    EngineMode mode
)

function GetRowIter

void GetRowIter(
    int8_t * input,
    int8_t * iter
)

function RowIterHasNext

bool RowIterHasNext(
    int8_t * iter
)

function RowIterNext

void RowIterNext(
    int8_t * iter
)

function RowIterGetCurSlice

int8_t * RowIterGetCurSlice(
    int8_t * iter,
    size_t idx
)

function RowIterGetCurSliceSize

size_t RowIterGetCurSliceSize(
    int8_t * iter,
    size_t idx
)

function RowIterDelete

void RowIterDelete(
    int8_t * iter
)

function RowGetSlice

int8_t * RowGetSlice(
    int8_t * row_ptr,
    size_t idx
)

function RowGetSliceSize

size_t RowGetSliceSize(
    int8_t * row_ptr,
    size_t idx
)

Attributes Documentation

variable INVALID_POS

constexpr uint32_t INVALID_POS = UINT32_MAX;

Last updated