OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Importer_NS::CopyParams Struct Reference

#include <CopyParams.h>

+ Collaboration diagram for Importer_NS::CopyParams:

Public Member Functions

 CopyParams ()
 
 CopyParams (char d, const std::string &n, char l, size_t b, size_t retries, size_t wait)
 

Public Attributes

char delimiter
 
std::string null_str
 
ImportHeaderRow has_header
 
bool quoted
 
char quote
 
char escape
 
char line_delim
 
char array_delim
 
char array_begin
 
char array_end
 
int threads
 
size_t max_reject
 
FileType file_type
 
bool plain_text = false
 
std::string s3_access_key
 
std::string s3_secret_key
 
std::string s3_region
 
std::string s3_endpoint
 
size_t retry_count
 
size_t retry_wait
 
size_t batch_size
 
size_t buffer_size
 
bool lonlat
 
EncodingType geo_coords_encoding
 
int32_t geo_coords_comp_param
 
SQLTypes geo_coords_type
 
int32_t geo_coords_srid
 
bool sanitize_column_names
 
std::string geo_layer_name
 
bool geo_assign_render_groups
 
bool geo_explode_collections
 

Detailed Description

Definition at line 45 of file CopyParams.h.

Constructor & Destructor Documentation

Importer_NS::CopyParams::CopyParams ( )
inline

Definition at line 82 of file CopyParams.h.

83  : delimiter(',')
84  , null_str("\\N")
86  , quoted(true)
87  , quote('"')
88  , escape('"')
89  , line_delim('\n')
90  , array_delim(',')
91  , array_begin('{')
92  , array_end('}')
93  , threads(0)
94  , max_reject(100000)
96  , retry_count(100)
97  , retry_wait(5)
98  , batch_size(1000)
100  , lonlat(true)
104  , geo_coords_srid(4326)
105  , sanitize_column_names(true)
107  , geo_explode_collections(false) {}
std::string null_str
Definition: CopyParams.h:47
EncodingType geo_coords_encoding
Definition: CopyParams.h:73
ImportHeaderRow has_header
Definition: CopyParams.h:48
static constexpr size_t kImportFileBufferSize
Definition: CopyParams.h:32
int32_t geo_coords_comp_param
Definition: CopyParams.h:74
Importer_NS::CopyParams::CopyParams ( char  d,
const std::string &  n,
char  l,
size_t  b,
size_t  retries,
size_t  wait 
)
inline

Definition at line 109 of file CopyParams.h.

110  : delimiter(d)
111  , null_str(n)
113  , quoted(true)
114  , quote('"')
115  , escape('"')
116  , line_delim(l)
117  , array_delim(',')
118  , array_begin('{')
119  , array_end('}')
120  , threads(0)
121  , max_reject(100000)
123  , retry_count(retries)
124  , retry_wait(wait)
125  , batch_size(b)
127  , lonlat(true)
131  , geo_coords_srid(4326)
132  , sanitize_column_names(true)
134  , geo_explode_collections(false) {}
std::string null_str
Definition: CopyParams.h:47
EncodingType geo_coords_encoding
Definition: CopyParams.h:73
ImportHeaderRow has_header
Definition: CopyParams.h:48
static constexpr size_t kImportFileBufferSize
Definition: CopyParams.h:32
int32_t geo_coords_comp_param
Definition: CopyParams.h:74

Member Data Documentation

size_t Importer_NS::CopyParams::batch_size

Definition at line 69 of file CopyParams.h.

Referenced by kafka_insert(), and stream_insert().

size_t Importer_NS::CopyParams::buffer_size
bool Importer_NS::CopyParams::lonlat
size_t Importer_NS::CopyParams::max_reject
bool Importer_NS::CopyParams::plain_text = false
size_t Importer_NS::CopyParams::retry_count
size_t Importer_NS::CopyParams::retry_wait

Definition at line 68 of file CopyParams.h.

Referenced by RowToColumnLoader::wait_disconnet_reconnnect_retry().

bool Importer_NS::CopyParams::sanitize_column_names

The documentation for this struct was generated from the following file: