# hybridse::vm::Window

`#include <mem_catalog.h>`

## Summary

## Public Types

|                                                                                                       | Name |
| ----------------------------------------------------------------------------------------------------- | ---- |
| [**WindowFrameType**](#enum-windowframetype) { kFrameRows, kFrameRowsRange, kFrameRowsMergeRowsRange} | enum |

| Public functions                                                                                                                                                                                  |                                                                                                                       |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| [**Window**](#function-window)()                                                                                                                                                                  |                                                                                                                       |
| [**\~Window**](#function-~window)()                                                                                                                                                               |                                                                                                                       |
| [**GetIterator**](#function-getiterator)() override                                                                                                                                               | <p>std::unique\_ptr< RowIterator ><br>Return the const iterator.</p>                                                  |
| [**GetRawIterator**](#function-getrawiterator)()                                                                                                                                                  | <p>RowIterator \*<br>Return the const iterator raw pointer.</p>                                                       |
| [**BufferData**](#function-bufferdata)(uint64\_t key, const [Row](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classes/classhybridse_1_1codec_1_1_row) & row) =0 | bool                                                                                                                  |
| [**PopBackData**](#function-popbackdata)()                                                                                                                                                        | void                                                                                                                  |
| [**PopFrontData**](#function-popfrontdata)() =0                                                                                                                                                   | void                                                                                                                  |
| [**GetCount**](#function-getcount)()                                                                                                                                                              | <p>const uint64\_t<br>Returns the number of elements in this list.</p>                                                |
| [**At**](#function-at)(uint64\_t pos)                                                                                                                                                             | <p><a href="classhybridse_1_1codec_1_1_row">Row</a><br>Return a the value of element by its position in the list.</p> |
| [**GetHandlerTypeName**](#function-gethandlertypename)() override                                                                                                                                 | <p>const std::string<br>Return the name of handler and return "TableHandler" by default.</p>                          |
| [**instance\_not\_in\_window**](#function-instance_not_in_window)() const                                                                                                                         | const bool                                                                                                            |
| [**set\_instance\_not\_in\_window**](#function-set_instance_not_in_window)(const bool flag)                                                                                                       | void                                                                                                                  |
| [**exclude\_current\_time**](#function-exclude_current_time)() const                                                                                                                              | const bool                                                                                                            |
| [**set\_exclude\_current\_time**](#function-set_exclude_current_time)(const bool flag)                                                                                                            | void                                                                                                                  |

| **Protected attributes**                                             |      |
| -------------------------------------------------------------------- | ---- |
| [**exclude\_current\_time\_**](#variable-exclude_current_time_)      | bool |
| [**instance\_not\_in\_window\_**](#variable-instance_not_in_window_) | bool |

## Inherited members

Inherited by [hybridse::vm::HistoryWindow](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classes/classhybridse_1_1vm_1_1_history_window)

Inherited from [hybridse::vm::MemTimeTableHandler](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classes/classhybridse_1_1vm_1_1_mem_time_table_handler)

| Inherited Public functions                                                                                                                                                                                                                                                                                                       |                                                                                                                                                                        |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [**MemTimeTableHandler**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-memtimetablehandler)()                                                                                                                                           |                                                                                                                                                                        |
| [**MemTimeTableHandler**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-memtimetablehandler)(const Schema \* schema)                                                                                                                     |                                                                                                                                                                        |
| [**MemTimeTableHandler**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-memtimetablehandler)(const std::string & table\_name, const std::string & db, const Schema \* schema)                                                            |                                                                                                                                                                        |
| [**GetTypes**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-gettypes)() override                                                                                                                                                        | <p>const <a href="../../namespaces/namespacehybridse_1_1vm#typedef-types">Types</a> &<br>Return table column Types information.</p>                                    |
| [**\~MemTimeTableHandler**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-~memtimetablehandler)() override                                                                                                                               |                                                                                                                                                                        |
| [**GetSchema**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-getschema)()                                                                                                                                                               | <p>const Schema \*<br>Return table schema.</p>                                                                                                                         |
| [**GetName**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-getname)()                                                                                                                                                                   | <p>const std::string &<br>Return table name.</p>                                                                                                                       |
| [**GetIndex**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-getindex)()                                                                                                                                                                 | <p>const <a href="../../namespaces/namespacehybridse_1_1vm#typedef-indexhint">IndexHint</a> &<br>Return the index information.</p>                                     |
| [**GetDatabase**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-getdatabase)()                                                                                                                                                           | <p>const std::string &<br>Return the name of database.</p>                                                                                                             |
| [**GetWindowIterator**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-getwindowiterator)(const std::string & idx\_name)                                                                                                                  | std::unique\_ptr< [WindowIterator](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classes/classhybridse_1_1codec_1_1_window_iterator) > |
| [**AddRow**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-addrow)(const uint64\_t key, const [Row](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classes/classhybridse_1_1codec_1_1_row) & v)           | void                                                                                                                                                                   |
| [**AddFrontRow**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-addfrontrow)(const uint64\_t key, const [Row](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classes/classhybridse_1_1codec_1_1_row) & v) | void                                                                                                                                                                   |
| [**PopBackRow**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-popbackrow)()                                                                                                                                                             | void                                                                                                                                                                   |
| [**PopFrontRow**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-popfrontrow)()                                                                                                                                                           | void                                                                                                                                                                   |
| [**GetFrontRow**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-getfrontrow)()                                                                                                                                                           | const std::pair< uint64\_t, [Row](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classes/classhybridse_1_1codec_1_1_row) > &            |
| [**GetBackRow**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-getbackrow)()                                                                                                                                                             | const std::pair< uint64\_t, [Row](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classes/classhybridse_1_1codec_1_1_row) > &            |
| [**Sort**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-sort)(const bool is\_asc)                                                                                                                                                       | void                                                                                                                                                                   |
| [**Reverse**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-reverse)()                                                                                                                                                                   | void                                                                                                                                                                   |
| [**SetOrderType**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-setordertype)(const [OrderType](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/namespaces/namespacehybridse_1_1vm#enum-ordertype) order\_type)            | void                                                                                                                                                                   |
| [**GetOrderType**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-getordertype)() const                                                                                                                                                   | const [OrderType](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/namespaces/namespacehybridse_1_1vm#enum-ordertype)                                      |

| **Inherited protected attributes**                                                                                                                                     |                                                                                                                                      |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| [**table\_name\_**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#variable-table_name_) | const std::string                                                                                                                    |
| [**db\_**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#variable-db_)                  | const std::string                                                                                                                    |
| [**schema\_**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#variable-schema_)          | const Schema \*                                                                                                                      |
| [**types\_**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#variable-types_)            | [Types](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/namespaces/namespacehybridse_1_1vm#typedef-types)               |
| [**index\_hint\_**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#variable-index_hint_) | [IndexHint](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/namespaces/namespacehybridse_1_1vm#typedef-indexhint)       |
| [**table\_**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#variable-table_)            | [MemTimeTable](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/namespaces/namespacehybridse_1_1vm#typedef-memtimetable) |
| [**order\_type\_**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#variable-order_type_) | [OrderType](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/namespaces/namespacehybridse_1_1vm#enum-ordertype)          |

Inherited from [hybridse::vm::TableHandler](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classes/classhybridse_1_1vm_1_1_table_handler)

| Inherited Public functions                                                                                                                                                                                                       |                                                                                                                                                                         |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [**TableHandler**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_table_handler#function-tablehandler)()                                                                  |                                                                                                                                                                         |
| [**\~TableHandler**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_table_handler#function-~tablehandler)()                                                               |                                                                                                                                                                         |
| [**GetTypes**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_table_handler#function-gettypes)() =0                                                                       | <p>const <a href="../../namespaces/namespacehybridse_1_1vm#typedef-types">Types</a> &<br>Return table column Types information.</p>                                     |
| [**GetIndex**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_table_handler#function-getindex)() =0                                                                       | <p>const <a href="../../namespaces/namespacehybridse_1_1vm#typedef-indexhint">IndexHint</a> &<br>Return the index information.</p>                                      |
| [**GetWindowIterator**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_table_handler#function-getwindowiterator)(const std::string & idx\_name) =0                        | std::unique\_ptr< [WindowIterator](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classes/classhybridse_1_1codec_1_1_window_iterator) >  |
| [**GetHanlderType**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_table_handler#function-gethanldertype)() override                                                     | const [HandlerType](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/namespaces/namespacehybridse_1_1vm#enum-handlertype)                                   |
| [**GetPartition**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_table_handler#function-getpartition)(const std::string & index\_name)                                   | std::shared\_ptr< [PartitionHandler](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classes/classhybridse_1_1vm_1_1_partition_handler) > |
| [**GetOrderType**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_table_handler#function-getordertype)() const                                                            | const [OrderType](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/namespaces/namespacehybridse_1_1vm#enum-ordertype)                                       |
| [**GetTablet**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_table_handler#function-gettablet)(const std::string & index\_name, const std::string & pk)                 | std::shared\_ptr< [Tablet](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classes/classhybridse_1_1vm_1_1_tablet) >                      |
| [**GetTablet**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_table_handler#function-gettablet)(const std::string & index\_name, const std::vector< std::string > & pks) | std::shared\_ptr< [Tablet](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classes/classhybridse_1_1vm_1_1_tablet) >                      |

Inherited from [hybridse::vm::DataHandler](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classes/classhybridse_1_1vm_1_1_data_handler)

| Inherited Public functions                                                                                                                                            |                                                                                                                                                                                        |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [**DataHandler**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_data_handler#function-datahandler)()          |                                                                                                                                                                                        |
| [**\~DataHandler**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_data_handler#function-~datahandler)()       |                                                                                                                                                                                        |
| [**GetSchema**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_data_handler#function-getschema)() =0           | <p>const Schema \*<br>Return table schema.</p>                                                                                                                                         |
| [**GetName**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_data_handler#function-getname)() =0               | <p>const std::string &<br>Return table name.</p>                                                                                                                                       |
| [**GetDatabase**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_data_handler#function-getdatabase)() =0       | <p>const std::string &<br>Return the name of database.</p>                                                                                                                             |
| [**GetHanlderType**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_data_handler#function-gethanldertype)() =0 | <p>const <a href="../../namespaces/namespacehybridse_1_1vm#enum-handlertype">HandlerType</a><br>Return the type of <a href="classhybridse_1_1vm_1_1_data_handler">DataHandler</a>.</p> |
| [**GetStatus**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_data_handler#function-getstatus)()              | <p>base::Status<br>Return dataset status. Default is hybridse::common::kOk.</p>                                                                                                        |

Inherited from [hybridse::codec::ListV< Row >](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classes/classhybridse_1_1codec_1_1_list_v)

| Inherited Public functions                                                                                                                       |   |
| ------------------------------------------------------------------------------------------------------------------------------------------------ | - |
| [**ListV**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1codec_1_1_list_v#function-listv)()    |   |
| [**\~ListV**](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1codec_1_1_list_v#function-~listv)() |   |

## Public Types

### enum WindowFrameType

| Enumerator               | Value | Description |
| ------------------------ | ----- | ----------- |
| kFrameRows               |       |             |
| kFrameRowsRange          |       |             |
| kFrameRowsMergeRowsRange |       |             |

## Public Functions

#### function Window

```cpp
inline Window()
```

#### function \~Window

```cpp
inline virtual ~Window()
```

#### function GetIterator

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

Return the const iterator.

**Reimplements**: [hybridse::vm::MemTimeTableHandler::GetIterator](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-getiterator)

#### function GetRawIterator

```cpp
inline virtual RowIterator * GetRawIterator()
```

Return the const iterator raw pointer.

**Reimplements**: [hybridse::vm::MemTimeTableHandler::GetRawIterator](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-getrawiterator)

#### function BufferData

```cpp
virtual bool BufferData(
    uint64_t key,
    const Row & row
) =0
```

**Reimplemented by**: [hybridse::vm::HistoryWindow::BufferData](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_history_window#function-bufferdata), [hybridse::vm::CurrentHistoryWindow::BufferData](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_current_history_window#function-bufferdata)

#### function PopBackData

```cpp
inline virtual void PopBackData()
```

#### function PopFrontData

```cpp
virtual void PopFrontData() =0
```

**Reimplemented by**: [hybridse::vm::HistoryWindow::PopFrontData](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_history_window#function-popfrontdata), [hybridse::vm::CurrentHistoryWindow::PopFrontData](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_current_history_window#function-popfrontdata)

#### function GetCount

```cpp
inline virtual const uint64_t GetCount()
```

Returns the number of elements in this list.

**Reimplements**: [hybridse::vm::MemTimeTableHandler::GetCount](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-getcount)

It count element by traverse the list

#### function At

```cpp
inline virtual Row At(
    uint64_t pos
)
```

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](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-at)

#### function GetHandlerTypeName

```cpp
inline virtual const std::string GetHandlerTypeName() override
```

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

**Reimplements**: [hybridse::vm::MemTimeTableHandler::GetHandlerTypeName](https://tobe.gitbook.io/hybridsql/hybridse/shi-yong-wen-dang/c++-api-wen-dang/classhybridse_1_1vm_1_1_mem_time_table_handler#function-gethandlertypename)

#### function instance\_not\_in\_window

```cpp
inline const bool instance_not_in_window() const
```

#### function set\_instance\_not\_in\_window

```cpp
inline void set_instance_not_in_window(
    const bool flag
)
```

#### function exclude\_current\_time

```cpp
inline const bool exclude_current_time() const
```

#### function set\_exclude\_current\_time

```cpp
inline void set_exclude_current_time(
    const bool flag
)
```

## Protected Attributes

### variable exclude\_current\_time\_

```cpp
bool exclude_current_time_;
```

### variable instance\_not\_in\_window\_

```cpp
bool instance_not_in_window_;
```
