![]() |
mutable
A Database System for Research and Fast Prototyping
|
Defines a generic store interface. More...
#include <Store.hpp>
Public Member Functions | |
Store (const Store &)=delete | |
Store (Store &&)=default | |
virtual | ~Store () |
const Table & | table () const |
virtual const memory::Memory & | memory () const =0 |
Returns the memory corresponding to the Linearization 's root node. | |
virtual std::size_t | num_rows () const =0 |
Return the number of rows in this store. | |
virtual void | append ()=0 |
Append a row to the store. | |
virtual void | drop ()=0 |
Drop the most recently appended row. | |
virtual void | dump (std::ostream &out) const =0 |
void | dump () const |
Protected Member Functions | |
Store (const Table &table) | |
Private Attributes | |
const Table & | table_ |
the table defining this store's schema | |
|
delete |
|
default |
|
pure virtual |
Append a row to the store.
Implemented in m::ColumnStore, m::PaxStore, and m::RowStore.
|
pure virtual |
Drop the most recently appended row.
Implemented in m::ColumnStore, m::PaxStore, and m::RowStore.
M_LCOV_EXCL_START void Store::dump | ( | ) | const |
|
pure virtual |
Implemented in m::ColumnStore, m::PaxStore, m::RowStore, m::ColumnStore, m::PaxStore, and m::RowStore.
|
pure virtual |
Returns the memory corresponding to the Linearization
's root node.
Implemented in m::ColumnStore, m::PaxStore, and m::RowStore.
Referenced by m::WasmEngine::WasmContext::map_table().
|
pure virtual |
Return the number of rows in this store.
Implemented in m::ColumnStore, m::PaxStore, and m::RowStore.
Referenced by m::WasmEngine::WasmContext::map_table().
|
inline |
Definition at line 36 of file Store.hpp.
Referenced by m::ColumnStore::ColumnStore(), m::PaxStore::compute_block_offsets(), m::RowStore::compute_offsets(), m::ColumnStore::dump(), m::PaxStore::dump(), m::RowStore::dump(), m::ColumnStore::memory(), m::PaxStore::offset(), m::RowStore::offset(), and m::ScanOperator::ScanOperator().
|
private |