OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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
 
std::optional< std::string > regex_path_filter
 
std::optional< std::string > file_sort_order_by
 
std::optional< std::string > file_sort_regex
 

Detailed Description

Definition at line 48 of file CopyParams.h.

Constructor & Destructor Documentation

import_export::CopyParams::CopyParams ( )
inline

Definition at line 90 of file CopyParams.h.

91  : delimiter(',')
92  , null_str("\\N")
94  , quoted(true)
95  , quote('"')
96  , escape('"')
97  , line_delim('\n')
98  , array_delim(',')
99  , array_begin('{')
100  , array_end('}')
101  , threads(0)
102  , max_reject(100000)
104  , retry_count(100)
105  , retry_wait(5)
106  , batch_size(1000)
108  , lonlat(true)
112  , geo_coords_srid(4326)
113  , sanitize_column_names(true)
115  , geo_explode_collections(false)
116  , source_srid(0) {}
ImportHeaderRow has_header
Definition: CopyParams.h:51
static constexpr size_t kImportFileBufferSize
Definition: CopyParams.h:32
EncodingType geo_coords_encoding
Definition: CopyParams.h:77
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 118 of file CopyParams.h.

119  : delimiter(d)
120  , null_str(n)
122  , quoted(true)
123  , quote('"')
124  , escape('"')
125  , line_delim(l)
126  , array_delim(',')
127  , array_begin('{')
128  , array_end('}')
129  , threads(0)
130  , max_reject(100000)
132  , retry_count(retries)
133  , retry_wait(wait)
134  , batch_size(b)
136  , lonlat(true)
140  , geo_coords_srid(4326)
141  , sanitize_column_names(true)
143  , geo_explode_collections(false)
144  , source_srid(0) {}
ImportHeaderRow has_header
Definition: CopyParams.h:51
static constexpr size_t kImportFileBufferSize
Definition: CopyParams.h:32
constexpr double n
Definition: Utm.h:46
EncodingType geo_coords_encoding
Definition: CopyParams.h:77

Member Data Documentation

size_t import_export::CopyParams::batch_size

Definition at line 73 of file CopyParams.h.

Referenced by kafka_insert(), and stream_insert().

std::optional<std::string> import_export::CopyParams::file_sort_order_by
std::optional<std::string> import_export::CopyParams::file_sort_regex
std::optional<std::string> import_export::CopyParams::regex_path_filter
size_t import_export::CopyParams::retry_count
size_t import_export::CopyParams::retry_wait

Definition at line 72 of file CopyParams.h.

Referenced by RowToColumnLoader::wait_disconnect_reconnect_retry().


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