OmniSciDB  cde582ebc3
 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
 
import_export::SourceType source_type
 
bool plain_text = false
 
bool trim_spaces
 
std::string s3_access_key
 
std::string s3_secret_key
 
std::string s3_session_token = ""
 
std::string s3_region
 
std::string s3_endpoint
 
int32_t s3_max_concurrent_downloads
 
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
 
RasterPointType raster_point_type
 
std::string raster_import_bands
 
int32_t raster_scanlines_per_thread
 
RasterPointTransform raster_point_transform
 
bool raster_point_compute_angle
 
std::string raster_import_dimensions
 
std::string add_metadata_columns
 
std::string sql_select
 
std::string sql_order_by
 
std::string username
 
std::string password
 
std::string credential_string
 
std::string dsn
 
std::string connection_string
 
std::string line_start_regex
 
std::string line_regex
 

Detailed Description

Definition at line 43 of file CopyParams.h.

Constructor & Destructor Documentation

import_export::CopyParams::CopyParams ( )
inline

Definition at line 108 of file CopyParams.h.

109  : delimiter(',')
110  , null_str("\\N")
112  , quoted(true)
113  , quote('"')
114  , escape('"')
115  , line_delim('\n')
116  , array_delim(',')
117  , array_begin('{')
118  , array_end('}')
119  , threads(0)
120  , max_reject(100000)
122  , trim_spaces(true)
123  , retry_count(100)
124  , retry_wait(5)
125  , batch_size(1000)
127  , lonlat(true)
131  , geo_coords_srid(4326)
132  , sanitize_column_names(true)
134  , geo_explode_collections(false)
135  , source_srid(0)
139  , raster_point_compute_angle{false} {}
int32_t raster_scanlines_per_thread
Definition: CopyParams.h:89
ImportHeaderRow has_header
Definition: CopyParams.h:46
RasterPointType raster_point_type
Definition: CopyParams.h:87
import_export::SourceType source_type
Definition: CopyParams.h:57
static constexpr size_t kImportFileBufferSize
Definition: CopyParams.h:34
RasterPointTransform raster_point_transform
Definition: CopyParams.h:90
EncodingType geo_coords_encoding
Definition: CopyParams.h:75
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 141 of file CopyParams.h.

142  : delimiter(d)
143  , null_str(n)
145  , quoted(true)
146  , quote('"')
147  , escape('"')
148  , line_delim(l)
149  , array_delim(',')
150  , array_begin('{')
151  , array_end('}')
152  , threads(0)
153  , max_reject(100000)
155  , trim_spaces(true)
156  , retry_count(retries)
157  , retry_wait(wait)
158  , batch_size(b)
160  , lonlat(true)
164  , geo_coords_srid(4326)
165  , sanitize_column_names(true)
167  , geo_explode_collections(false)
168  , source_srid(0)
172  , raster_point_compute_angle{false} {}
int32_t raster_scanlines_per_thread
Definition: CopyParams.h:89
ImportHeaderRow has_header
Definition: CopyParams.h:46
RasterPointType raster_point_type
Definition: CopyParams.h:87
import_export::SourceType source_type
Definition: CopyParams.h:57
static constexpr size_t kImportFileBufferSize
Definition: CopyParams.h:34
constexpr double n
Definition: Utm.h:38
RasterPointTransform raster_point_transform
Definition: CopyParams.h:90
EncodingType geo_coords_encoding
Definition: CopyParams.h:75

Member Data Documentation

size_t import_export::CopyParams::batch_size

Definition at line 71 of file CopyParams.h.

Referenced by kafka_insert(), and stream_insert().

std::string import_export::CopyParams::connection_string
std::string import_export::CopyParams::credential_string
std::string import_export::CopyParams::dsn
std::string import_export::CopyParams::line_start_regex
std::string import_export::CopyParams::password
size_t import_export::CopyParams::retry_count
size_t import_export::CopyParams::retry_wait

Definition at line 70 of file CopyParams.h.

Referenced by RowToColumnLoader::wait_disconnect_reconnect_retry().

int32_t import_export::CopyParams::s3_max_concurrent_downloads
std::string import_export::CopyParams::sql_select
std::string import_export::CopyParams::username

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