Flex  0.17.9
Namespaces | Functions
csv_fragment_loader.cc File Reference
#include "flex/storages/rt_mutable_graph/loader/csv_fragment_loader.h"
#include "flex/engines/hqps_db/core/utils/hqps_utils.h"
Include dependency graph for csv_fragment_loader.cc:

Namespaces

 gs
 

Functions

static std::string gs::process_header_row_token (const std::string &token, const LoadingConfig &config)
 
static std::vector< std::string > gs::read_header (const std::string &file_name, char delimiter, const LoadingConfig &loading_config)
 
static void gs::put_delimiter_option (const LoadingConfig &loading_config, arrow::csv::ParseOptions &parse_options)
 
static bool gs::put_skip_rows_option (const LoadingConfig &loading_config, arrow::csv::ReadOptions &read_options)
 
static void gs::put_escape_char_option (const LoadingConfig &loading_config, arrow::csv::ParseOptions &parse_options)
 
static void gs::put_block_size_option (const LoadingConfig &loading_config, arrow::csv::ReadOptions &read_options)
 
static void gs::put_quote_char_option (const LoadingConfig &loading_config, arrow::csv::ParseOptions &parse_options)
 
static void gs::put_boolean_option (arrow::csv::ConvertOptions &convert_options)
 
static void gs::put_column_names_option (const LoadingConfig &loading_config, bool header_row, const std::string &file_path, char delimiter, arrow::csv::ReadOptions &read_options, size_t len)
 
static void gs::put_null_values (const LoadingConfig &loading_config, arrow::csv::ConvertOptions &convert_options)