OmniSciDB  72c90bc290
 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 1063 of file ArrowForeignStorage.cpp.

Referenced by PersistentStorageMgr::PersistentStorageMgr().

1063  {
1064  fsi->registerPersistentStorageInterface(std::make_unique<ArrowCsvForeignStorage>());
1065 }

+ Here is the caller graph for this function:

void registerArrowForeignStorage ( std::shared_ptr< ForeignStorageInterface fsi)

Definition at line 893 of file ArrowForeignStorage.cpp.

Referenced by PersistentStorageMgr::PersistentStorageMgr().

893  {
894  fsi->registerPersistentStorageInterface(std::make_unique<ArrowForeignStorage>());
895 }

+ Here is the caller graph for this function:

void releaseArrowTable ( std::string  name)

Definition at line 889 of file ArrowForeignStorage.cpp.

References ArrowForeignStorage::tables.

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

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

+ Here is the caller graph for this function:

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

Definition at line 885 of file ArrowForeignStorage.cpp.

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

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

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

+ Here is the caller graph for this function: