OmniSciDB  c0231cc57d
 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
 
size_t max_import_batch_row_count
 
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 109 of file CopyParams.h.

110  : delimiter(',')
111  , null_str("\\N")
113  , quoted(true)
114  , quote('"')
115  , escape('"')
116  , line_delim('\n')
117  , array_delim(',')
118  , array_begin('{')
119  , array_end('}')
120  , threads(0)
121  , max_reject(100000)
123  , trim_spaces(true)
124  , retry_count(100)
125  , retry_wait(5)
126  , batch_size(1000)
129  , lonlat(true)
133  , geo_coords_srid(4326)
134  , sanitize_column_names(true)
135  , geo_assign_render_groups(false)
136  , geo_explode_collections(false)
137  , source_srid(0)
141  , raster_point_compute_angle{false} {}
int32_t raster_scanlines_per_thread
Definition: CopyParams.h:90
ImportHeaderRow has_header
Definition: CopyParams.h:46
RasterPointType raster_point_type
Definition: CopyParams.h:88
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:91
EncodingType geo_coords_encoding
Definition: CopyParams.h:76
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 143 of file CopyParams.h.

144  : delimiter(d)
145  , null_str(n)
147  , quoted(true)
148  , quote('"')
149  , escape('"')
150  , line_delim(l)
151  , array_delim(',')
152  , array_begin('{')
153  , array_end('}')
154  , threads(0)
155  , max_reject(100000)
157  , trim_spaces(true)
158  , retry_count(retries)
159  , retry_wait(wait)
160  , batch_size(b)
163  , lonlat(true)
167  , geo_coords_srid(4326)
168  , sanitize_column_names(true)
169  , geo_assign_render_groups(false)
170  , geo_explode_collections(false)
171  , source_srid(0)
175  , raster_point_compute_angle{false} {}
int32_t raster_scanlines_per_thread
Definition: CopyParams.h:90
ImportHeaderRow has_header
Definition: CopyParams.h:46
RasterPointType raster_point_type
Definition: CopyParams.h:88
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:91
EncodingType geo_coords_encoding
Definition: CopyParams.h:76

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
size_t import_export::CopyParams::max_import_batch_row_count
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: