OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ArrowForeignStorage.h File Reference
#include <arrow/api.h>
#include <memory>
#include <string>
#include "ForeignStorageInterface.h"
+ Include dependency graph for ArrowForeignStorage.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void registerArrowCsvForeignStorage (std::shared_ptr< ForeignStorageInterface > fsi)
 
void registerArrowForeignStorage (std::shared_ptr< ForeignStorageInterface > fsi)
 
void setArrowTable (std::string name, std::shared_ptr< arrow::Table > table)
 
void releaseArrowTable (std::string name)
 

Function Documentation

void registerArrowCsvForeignStorage ( std::shared_ptr< ForeignStorageInterface fsi)

Definition at line 1033 of file ArrowForeignStorage.cpp.

Referenced by PersistentStorageMgr::PersistentStorageMgr().

1033  {
1034  fsi->registerPersistentStorageInterface(std::make_unique<ArrowCsvForeignStorage>());
1035 }

+ Here is the caller graph for this function:

void registerArrowForeignStorage ( std::shared_ptr< ForeignStorageInterface fsi)

Definition at line 863 of file ArrowForeignStorage.cpp.

Referenced by PersistentStorageMgr::PersistentStorageMgr().

863  {
864  fsi->registerPersistentStorageInterface(std::make_unique<ArrowForeignStorage>());
865 }

+ Here is the caller graph for this function:

void releaseArrowTable ( std::string  name)

Definition at line 859 of file ArrowForeignStorage.cpp.

References ArrowForeignStorage::tables.

Referenced by EmbeddedDatabase::DBEngineImpl::importArrowTable().

859  {
861 }
string name
Definition: setup.in.py:72
static std::map< std::string, std::shared_ptr< arrow::Table > > tables

+ Here is the caller graph for this function:

void setArrowTable ( std::string  name,
std::shared_ptr< arrow::Table >  table 
)

Definition at line 855 of file ArrowForeignStorage.cpp.

References setup::name, and ArrowForeignStorage::tables.

Referenced by EmbeddedDatabase::DBEngineImpl::importArrowTable().

855  {
857 }
string name
Definition: setup.in.py:72
static std::map< std::string, std::shared_ptr< arrow::Table > > tables

+ Here is the caller graph for this function: