OmniSciDB  06b3bd477c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DelimitedParserUtils.h File Reference
#include <string>
#include <vector>
#include "ImportExport/CopyParams.h"
+ Include dependency graph for DelimitedParserUtils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 import_export
 
 import_export::delimited_parser
 

Functions

size_t import_export::delimited_parser::find_beginning (const char *buffer, size_t begin, size_t end, const CopyParams &copy_params)
 Finds the closest possible row beginning in the given buffer. More...
 
size_t import_export::delimited_parser::find_end (const char *buffer, size_t size, const CopyParams &copy_params, unsigned int &num_rows_this_buffer)
 Finds the closest possible row ending to the end of the given buffer. More...
 
template<typename T >
const char * import_export::delimited_parser::get_row (const char *buf, const char *buf_end, const char *entire_buf_end, const import_export::CopyParams &copy_params, const bool *is_array, std::vector< T > &row, std::vector< std::unique_ptr< char[]>> &tmp_buffers, bool &try_single_thread)
 Parses the first row in the given buffer and inserts fields into given vector. More...
 
void import_export::delimited_parser::parse_string_array (const std::string &s, const import_export::CopyParams &copy_params, std::vector< std::string > &string_vec)
 Parses given string array and inserts into given vector of strings. More...