OmniSciDB  a667adc9c8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CsvFileBufferParser.cpp File Reference
+ Include dependency graph for CsvFileBufferParser.cpp:

Go to the source code of this file.

Namespaces

 foreign_storage
 
 foreign_storage::csv_file_buffer_parser
 

Functions

void foreign_storage::csv_file_buffer_parser::set_array_flags_and_geo_columns_count (std::unique_ptr< bool[]> &array_flags, int &phys_cols, int &point_cols, const std::list< const ColumnDescriptor * > &columns)
 
void foreign_storage::csv_file_buffer_parser::validate_expected_column_count (std::vector< std::string_view > &row, size_t num_cols, int point_cols, const std::string &file_name)
 
bool foreign_storage::csv_file_buffer_parser::is_coordinate_scalar (const std::string_view datum)
 
bool foreign_storage::csv_file_buffer_parser::set_coordinates_from_separate_lon_lat_columns (const std::string_view lon_str, const std::string_view lat_str, std::vector< double > &coords, const bool is_lon_lat_order)
 
bool foreign_storage::csv_file_buffer_parser::is_null_datum (const std::string_view datum, const ColumnDescriptor *column, const std::string &null_indicator)
 
void foreign_storage::csv_file_buffer_parser::process_geo_column (std::vector< std::unique_ptr< import_export::TypedImportBuffer >> &import_buffers, size_t &col_idx, const import_export::CopyParams &copy_params, std::list< const ColumnDescriptor * >::iterator &cd_it, std::vector< std::string_view > &row, size_t &import_idx, bool is_null, size_t first_row_index, size_t row_index_plus_one, std::shared_ptr< Catalog_Namespace::Catalog > catalog)
 
std::map< int, DataBlockPtrforeign_storage::csv_file_buffer_parser::convert_import_buffers_to_data_blocks (const std::vector< std::unique_ptr< import_export::TypedImportBuffer >> &import_buffers)
 
ParseBufferResult foreign_storage::csv_file_buffer_parser::parse_buffer (ParseBufferRequest &request, bool convert_data_blocks, bool columns_are_pre_filtered)
 
void foreign_storage::csv_file_buffer_parser::parse_and_validate_expected_column_count (const std::string &row, const import_export::CopyParams &copy_params, size_t num_cols, int point_cols, const std::string &file_name)