OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 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
 
virtual std::string getType () const =0
 

Detailed Description

Definition at line 32 of file ForeignStorageInterface.h.

Constructor & Destructor Documentation

virtual PersistentForeignStorageInterface::~PersistentForeignStorageInterface ( )
inlinevirtual

Definition at line 34 of file ForeignStorageInterface.h.

34 {}

Member Function Documentation

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

Implemented in ArrowForeignStorageBase, and DummyPersistentForeignStorage.

Referenced by ForeignStorageBufferMgr::checkpoint().

+ Here is the caller graph for this function:

virtual void PersistentForeignStorageInterface::dropTable ( const int  db_id,
const int  table_id 
)
pure virtual

Implemented in ArrowForeignStorageBase.

Referenced by ForeignStorageBufferMgr::removeTableRelatedDS().

+ Here is the caller graph for this function:

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

Reimplemented in ArrowCsvForeignStorage, and ArrowForeignStorage.

Definition at line 46 of file ForeignStorageInterface.h.

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

Implemented in ArrowForeignStorageBase, and DummyPersistentForeignStorage.

Referenced by ForeignStorageBuffer::read().

+ Here is the caller graph for this function:

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
virtual int8_t* PersistentForeignStorageInterface::tryZeroCopy ( const ChunkKey chunk_key,
const SQLTypeInfo sql_type,
const size_t  num_bytes 
)
inlinevirtual

Reimplemented in ArrowForeignStorageBase.

Definition at line 41 of file ForeignStorageInterface.h.

Referenced by ForeignStorageBuffer::tryZeroCopy().

43  {
44  return nullptr;
45  }

+ Here is the caller graph for this function:


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