OmniSciDB
a5dc49c757
|
#include <DummyForeignStorage.h>
Public Member Functions | |
void | append (const std::vector< ForeignStorageColumnBuffer > &column_buffers) override |
void | read (const ChunkKey &chunk_key, const SQLTypeInfo &sql_type, int8_t *dest, const size_t numBytes) override |
std::string | getType () const override |
Public Member Functions inherited from PersistentForeignStorageInterface | |
virtual | ~PersistentForeignStorageInterface () |
virtual int8_t * | tryZeroCopy (const ChunkKey &chunk_key, const SQLTypeInfo &sql_type, const size_t num_bytes) |
virtual void | prepareTable (const int, const std::string &type, TableDescriptor &, std::list< ColumnDescriptor > &) |
virtual void | registerTable (Catalog_Namespace::Catalog *catalog, std::pair< int, int > table_key, const std::string &type, const TableDescriptor &td, const std::list< ColumnDescriptor > &cols, Data_Namespace::AbstractBufferMgr *mgr)=0 |
virtual void | dropTable (const int db_id, const int table_id)=0 |
Private Member Functions | |
void | append (const ChunkKey &chunk_key, const SQLTypeInfo &sql_type, const int8_t *src, const size_t numBytes) |
Private Attributes | |
std::map< ChunkKey, std::vector< int8_t > > | files_ |
std::mutex | files_mutex_ |
Definition at line 21 of file DummyForeignStorage.h.
|
overridevirtual |
Implements PersistentForeignStorageInterface.
Definition at line 19 of file DummyForeignStorage.cpp.
References append(), and files_mutex_.
Referenced by append().
|
private |
Definition at line 46 of file DummyForeignStorage.cpp.
References files_.
|
overridevirtual |
Implements PersistentForeignStorageInterface.
Definition at line 42 of file DummyForeignStorage.cpp.
|
overridevirtual |
Implements PersistentForeignStorageInterface.
Definition at line 30 of file DummyForeignStorage.cpp.
References CHECK, CHECK_EQ, files_, and files_mutex_.
|
private |
Definition at line 38 of file DummyForeignStorage.h.
|
private |
Definition at line 39 of file DummyForeignStorage.h.