OmniSciDB
a5dc49c757
|
Functions | |
bool | skip_column_import (ParseBufferRequest &request, int column_idx) |
void | 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 | validate_expected_column_count (std::vector< std::string_view > &row, size_t num_cols, int point_cols, const std::string &file_name) |
std::string | validate_and_get_delimiter (const ForeignTable *foreign_table, const std::string &option_name) |
std::string | validate_and_get_string_with_length (const ForeignTable *foreign_table, const std::string &option_name, const size_t expected_num_chars) |
std::optional< bool > | validate_and_get_bool_value (const ForeignTable *foreign_table, const std::string &option_name) |
void foreign_storage::anonymous_namespace{CsvFileBufferParser.cpp}::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 | ||
) |
Definition at line 31 of file CsvFileBufferParser.cpp.
References kARRAY, and kPOINT.
Referenced by foreign_storage::CsvFileBufferParser::parseBuffer().
|
inline |
Definition at line 27 of file CsvFileBufferParser.cpp.
References foreign_storage::ParseBufferRequest::import_buffers.
Referenced by foreign_storage::CsvFileBufferParser::parseBuffer().
std::optional<bool> foreign_storage::anonymous_namespace{CsvFileBufferParser.cpp}::validate_and_get_bool_value | ( | const ForeignTable * | foreign_table, |
const std::string & | option_name | ||
) |
Definition at line 100 of file CsvFileBufferParser.cpp.
References foreign_storage::OptionsContainer::options.
Referenced by foreign_storage::Csv::validate_and_get_copy_params(), foreign_storage::CsvFileBufferParser::validateAndGetCopyParams(), and foreign_storage::RegexFileBufferParser::validateAndGetCopyParams().
std::string foreign_storage::anonymous_namespace{CsvFileBufferParser.cpp}::validate_and_get_delimiter | ( | const ForeignTable * | foreign_table, |
const std::string & | option_name | ||
) |
Definition at line 64 of file CsvFileBufferParser.cpp.
References foreign_storage::OptionsContainer::options.
Referenced by foreign_storage::Csv::validate_and_get_copy_params(), and foreign_storage::CsvFileBufferParser::validateAndGetCopyParams().
std::string foreign_storage::anonymous_namespace{CsvFileBufferParser.cpp}::validate_and_get_string_with_length | ( | const ForeignTable * | foreign_table, |
const std::string & | option_name, | ||
const size_t | expected_num_chars | ||
) |
Definition at line 84 of file CsvFileBufferParser.cpp.
References foreign_storage::OptionsContainer::options, and to_string().
Referenced by foreign_storage::Csv::validate_and_get_copy_params(), and foreign_storage::CsvFileBufferParser::validateAndGetCopyParams().
void foreign_storage::anonymous_namespace{CsvFileBufferParser.cpp}::validate_expected_column_count | ( | std::vector< std::string_view > & | row, |
size_t | num_cols, | ||
int | point_cols, | ||
const std::string & | file_name | ||
) |
Definition at line 54 of file CsvFileBufferParser.cpp.
References foreign_storage::throw_number_of_columns_mismatch_error().
Referenced by foreign_storage::CsvFileBufferParser::parseBuffer(), and foreign_storage::CsvFileBufferParser::validateExpectedColumnCount().