OmniSciDB  bf83d84833
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
import_export::CopyParams Struct Reference

#include <CopyParams.h>

+ Collaboration diagram for import_export::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
 
int32_t source_srid
 

Detailed Description

Definition at line 45 of file CopyParams.h.

Constructor & Destructor Documentation

import_export::CopyParams::CopyParams ( )
inline

Definition at line 83 of file CopyParams.h.

84  : delimiter(',')
85  , null_str("\\N")
87  , quoted(true)
88  , quote('"')
89  , escape('"')
90  , line_delim('\n')
91  , array_delim(',')
92  , array_begin('{')
93  , array_end('}')
94  , threads(0)
95  , max_reject(100000)
97  , retry_count(100)
98  , retry_wait(5)
99  , batch_size(1000)
101  , lonlat(true)
105  , geo_coords_srid(4326)
106  , sanitize_column_names(true)
108  , geo_explode_collections(false)
109  , source_srid(0) {}
ImportHeaderRow has_header
Definition: CopyParams.h:48
static constexpr size_t kImportFileBufferSize
Definition: CopyParams.h:32
EncodingType geo_coords_encoding
Definition: CopyParams.h:73
import_export::CopyParams::CopyParams ( char  d,
const std::string &  n,
char  l,
size_t  b,
size_t  retries,
size_t  wait 
)
inline

Definition at line 111 of file CopyParams.h.

112  : delimiter(d)
113  , null_str(n)
115  , quoted(true)
116  , quote('"')
117  , escape('"')
118  , line_delim(l)
119  , array_delim(',')
120  , array_begin('{')
121  , array_end('}')
122  , threads(0)
123  , max_reject(100000)
125  , retry_count(retries)
126  , retry_wait(wait)
127  , batch_size(b)
129  , lonlat(true)
133  , geo_coords_srid(4326)
134  , sanitize_column_names(true)
136  , geo_explode_collections(false)
137  , source_srid(0) {}
ImportHeaderRow has_header
Definition: CopyParams.h:48
static constexpr size_t kImportFileBufferSize
Definition: CopyParams.h:32
EncodingType geo_coords_encoding
Definition: CopyParams.h:73

Member Data Documentation

size_t import_export::CopyParams::batch_size

Definition at line 69 of file CopyParams.h.

Referenced by kafka_insert(), and stream_insert().

size_t import_export::CopyParams::buffer_size
size_t import_export::CopyParams::retry_count
size_t import_export::CopyParams::retry_wait

Definition at line 68 of file CopyParams.h.

Referenced by RowToColumnLoader::wait_disconnet_reconnnect_retry().

int32_t import_export::CopyParams::source_srid

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