OmniSciDB  85c2d10cdc
 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_session_token = ""
 
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 84 of file CopyParams.h.

85  : delimiter(',')
86  , null_str("\\N")
88  , quoted(true)
89  , quote('"')
90  , escape('"')
91  , line_delim('\n')
92  , array_delim(',')
93  , array_begin('{')
94  , array_end('}')
95  , threads(0)
96  , max_reject(100000)
98  , retry_count(100)
99  , retry_wait(5)
100  , batch_size(1000)
102  , lonlat(true)
106  , geo_coords_srid(4326)
107  , sanitize_column_names(true)
109  , geo_explode_collections(false)
110  , 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:74
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 112 of file CopyParams.h.

113  : delimiter(d)
114  , null_str(n)
116  , quoted(true)
117  , quote('"')
118  , escape('"')
119  , line_delim(l)
120  , array_delim(',')
121  , array_begin('{')
122  , array_end('}')
123  , threads(0)
124  , max_reject(100000)
126  , retry_count(retries)
127  , retry_wait(wait)
128  , batch_size(b)
130  , lonlat(true)
134  , geo_coords_srid(4326)
135  , sanitize_column_names(true)
137  , geo_explode_collections(false)
138  , source_srid(0) {}
tuple d
Definition: test_fsi.py:9
ImportHeaderRow has_header
Definition: CopyParams.h:48
static constexpr size_t kImportFileBufferSize
Definition: CopyParams.h:32
EncodingType geo_coords_encoding
Definition: CopyParams.h:74

Member Data Documentation

size_t import_export::CopyParams::batch_size

Definition at line 70 of file CopyParams.h.

Referenced by kafka_insert(), and stream_insert().

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

Definition at line 69 of file CopyParams.h.

Referenced by RowToColumnLoader::wait_disconnect_reconnect_retry().

std::string import_export::CopyParams::s3_session_token = ""

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