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

Detailed Description

Definition at line 31 of file ForeignStorageInterface.h.

Constructor & Destructor Documentation

virtual PersistentForeignStorageInterface::~PersistentForeignStorageInterface ( )
inlinevirtual

Definition at line 33 of file ForeignStorageInterface.h.

33 {}

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 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 45 of file ForeignStorageInterface.h.

48  {}
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 40 of file ForeignStorageInterface.h.

Referenced by ForeignStorageBuffer::tryZeroCopy().

42  {
43  return nullptr;
44  }

+ Here is the caller graph for this function:


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