hybridse::vm::Window

#include <mem_catalog.h>

Summary

Public Types

Name

WindowFrameType { kFrameRows, kFrameRowsRange, kFrameRowsMergeRowsRange}

enum

Public functions

GetIterator() override

std::unique_ptr< RowIterator > Return the const iterator.

RowIterator * Return the const iterator raw pointer.

BufferData(uint64_t key, const Row & row) =0

bool

void

const uint64_t Returns the number of elements in this list.

At(uint64_t pos)

Row Return a the value of element by its position in the list.

const std::string Return the name of handler and return "TableHandler" by default.

const bool

void

const bool

set_exclude_current_time(const bool flag)

void

Inherited members

Inherited by hybridse::vm::HistoryWindow

Inherited from hybridse::vm::MemTimeTableHandler

Inherited Public functions

MemTimeTableHandler(const Schema * schema)

MemTimeTableHandler(const std::string & table_name, const std::string & db, const Schema * schema)

GetTypes() override

const Types & Return table column Types information.

const Schema * Return table schema.

const std::string & Return table name.

const IndexHint & Return the index information.

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

GetWindowIterator(const std::string & idx_name)

std::unique_ptr< WindowIterator >

AddRow(const uint64_t key, const Row & v)

void

AddFrontRow(const uint64_t key, const Row & v)

void

const std::pair< uint64_t, Row > &

const std::pair< uint64_t, Row > &

Sort(const bool is_asc)

void

void

SetOrderType(const OrderType order_type)

void

GetOrderType() const

const OrderType

Inherited protected attributes

const std::string

const std::string

const Schema *

Inherited from hybridse::vm::TableHandler

Inherited Public functions

const Types & Return table column Types information.

const IndexHint & Return the index information.

GetWindowIterator(const std::string & idx_name) =0

std::unique_ptr< WindowIterator >

GetHanlderType() override

GetPartition(const std::string & index_name)

std::shared_ptr< PartitionHandler >

GetOrderType() const

const OrderType

GetTablet(const std::string & index_name, const std::string & pk)

std::shared_ptr< Tablet >

GetTablet(const std::string & index_name, const std::vector< std::string > & pks)

std::shared_ptr< Tablet >

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.

const HandlerType Return the type of DataHandler.

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

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

Inherited Public functions

Public Types

enum WindowFrameType

Enumerator
Value
Description

kFrameRows

kFrameRowsRange

kFrameRowsMergeRowsRange

Public Functions

function Window

function ~Window

function GetIterator

Return the const iterator.

Reimplements: hybridse::vm::MemTimeTableHandler::GetIterator

function GetRawIterator

Return the const iterator raw pointer.

Reimplements: hybridse::vm::MemTimeTableHandler::GetRawIterator

function BufferData

Reimplemented by: hybridse::vm::HistoryWindow::BufferData, hybridse::vm::CurrentHistoryWindow::BufferData

function PopBackData

function PopFrontData

Reimplemented by: hybridse::vm::HistoryWindow::PopFrontData, hybridse::vm::CurrentHistoryWindow::PopFrontData

function GetCount

Returns the number of elements in this list.

Reimplements: hybridse::vm::MemTimeTableHandler::GetCount

It count element by traverse the list

function At

Return a the value of element by its position in the list.

Parameters:

  • pos is element position in the list

Reimplements: hybridse::vm::MemTimeTableHandler::At

function GetHandlerTypeName

Return the name of handler and return "TableHandler" by default.

Reimplements: hybridse::vm::MemTimeTableHandler::GetHandlerTypeName

function instance_not_in_window

function set_instance_not_in_window

function exclude_current_time

function set_exclude_current_time

Protected Attributes

variable exclude_current_time_

variable instance_not_in_window_

Last updated