OmniSciDB  2e3a973ef4
PersistentForeignStorageInterface Class Referenceabstract

#include <ForeignStorageInterface.h>

+ Inheritance diagram for PersistentForeignStorageInterface:

Public Member Functions

virtual ~PersistentForeignStorageInterface ()
 
virtual void append (const std::vector< ForeignStorageColumnBuffer > &column_buffers)=0
 
virtual void read (const ChunkKey &chunk_key, const SQLTypeInfo &sql_type, int8_t *dest, const size_t num_bytes)=0
 
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 std::string getType () const =0
 

Detailed Description

Definition at line 30 of file ForeignStorageInterface.h.

Constructor & Destructor Documentation

◆ ~PersistentForeignStorageInterface()

virtual PersistentForeignStorageInterface::~PersistentForeignStorageInterface ( )
inlinevirtual

Definition at line 32 of file ForeignStorageInterface.h.

References File_Namespace::append(), ForeignStorageColumnBuffer::chunk_key, run_benchmark_import::dest, File_Namespace::read(), and ForeignStorageColumnBuffer::sql_type.

32 {}
+ Here is the call graph for this function:

Member Function Documentation

◆ append()

virtual void PersistentForeignStorageInterface::append ( const std::vector< ForeignStorageColumnBuffer > &  column_buffers)
pure virtual

Implemented in ArrowCsvForeignStorage, and DummyPersistentForeignStorage.

Referenced by ForeignStorageBufferMgr::checkpoint().

+ Here is the caller graph for this function:

◆ getType()

virtual std::string PersistentForeignStorageInterface::getType ( ) const
pure virtual

◆ prepareTable()

virtual void PersistentForeignStorageInterface::prepareTable ( const int  ,
const std::string &  type,
TableDescriptor ,
std::list< ColumnDescriptor > &   
)
inlinevirtual

Reimplemented in ArrowCsvForeignStorage.

Definition at line 39 of file ForeignStorageInterface.h.

References run_benchmark_import::type.

42  {}

◆ read()

virtual void PersistentForeignStorageInterface::read ( const ChunkKey chunk_key,
const SQLTypeInfo sql_type,
int8_t *  dest,
const size_t  num_bytes 
)
pure virtual

Implemented in ArrowCsvForeignStorage, and DummyPersistentForeignStorage.

Referenced by ForeignStorageBuffer::read().

+ Here is the caller graph for this function:

◆ registerTable()

virtual void PersistentForeignStorageInterface::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 
)
pure virtual

Implemented in ArrowCsvForeignStorage.


The documentation for this class was generated from the following file: