OmniSciDB
a5dc49c757
|
Public Member Functions | |
ArrowCsvForeignStorage () | |
void | prepareTable (const int db_id, const std::string &type, TableDescriptor &td, std::list< ColumnDescriptor > &cols) override |
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) override |
std::string | getType () const override |
Public Member Functions inherited from ArrowForeignStorageBase | |
void | append (const std::vector< ForeignStorageColumnBuffer > &column_buffers) override |
void | read (const ChunkKey &chunk_key, const SQLTypeInfo &sql_type, int8_t *dest, const size_t numBytes) override |
int8_t * | tryZeroCopy (const ChunkKey &chunk_key, const SQLTypeInfo &sql_type, const size_t numBytes) override |
void | dropTable (const int db_id, const int table_id) override |
void | parseArrowTable (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, const arrow::Table &table) |
std::shared_ptr < arrow::ChunkedArray > | createDictionaryEncodedColumn (StringDictionary *dict, const ColumnDescriptor &c, std::shared_ptr< arrow::ChunkedArray > arr_col_chunked_array) |
std::shared_ptr < arrow::ChunkedArray > | convertArrowDictionary (StringDictionary *dict, const ColumnDescriptor &c, std::shared_ptr< arrow::ChunkedArray > arr_col_chunked_array) |
template<typename T , typename ChunkType > | |
std::shared_ptr < arrow::ChunkedArray > | createDecimalColumn (const ColumnDescriptor &c, std::shared_ptr< arrow::ChunkedArray > arr_col_chunked_array) |
std::shared_ptr < arrow::ChunkedArray > | replaceNullValues (const SQLTypeInfo &columnType, std::shared_ptr< arrow::ChunkedArray > arr_col_chunked_array) |
template<typename T > | |
std::shared_ptr < arrow::ChunkedArray > | replaceNullValuesImpl (std::shared_ptr< arrow::ChunkedArray > arr_col_chunked_array) |
void | getSizeAndOffset (const Frag &frag, const std::shared_ptr< arrow::Array > &chunk, size_t i, int &size, int &offset) |
int64_t | makeFragment (const Frag &frag, ArrowFragment &arrowFrag, const std::vector< std::shared_ptr< arrow::Array >> &chunks, bool is_varlen) |
Public Member Functions inherited from PersistentForeignStorageInterface | |
virtual | ~PersistentForeignStorageInterface () |
Additional Inherited Members | |
Public Attributes inherited from ArrowForeignStorageBase | |
std::map< std::array< int, 3 > , std::vector< ArrowFragment > > | m_columns |
Definition at line 897 of file ArrowForeignStorage.cpp.
|
inline |
Definition at line 899 of file ArrowForeignStorage.cpp.
|
overridevirtual |
Implements PersistentForeignStorageInterface.
Definition at line 1057 of file ArrowForeignStorage.cpp.
References logger::INFO, and LOG.
|
overridevirtual |
Reimplemented from PersistentForeignStorageInterface.
Definition at line 915 of file ArrowForeignStorage.cpp.
References TableDescriptor::hasDeletedCol.
|
overridevirtual |
Implements PersistentForeignStorageInterface.
Definition at line 986 of file ArrowForeignStorage.cpp.
References ARROW_THROW_NOT_OK, CHECK, DataframeTableDescriptor::delimiter, measure< TimeT >::execution(), getArrowImportType(), DataframeTableDescriptor::hasHeader, ArrowForeignStorageBase::parseArrowTable(), DataframeTableDescriptor::skipRows, and VLOG.