OmniSciDB  a5dc49c757
 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_explode_collections
 
bool geo_validate_geometry
 
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
 
bool raster_drop_if_all_null
 
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 110 of file CopyParams.h.

111  : delimiter(',')
112  , null_str("\\N")
114  , quoted(true)
115  , quote('"')
116  , escape('"')
117  , line_delim('\n')
118  , array_delim(',')
119  , array_begin('{')
120  , array_end('}')
121  , threads(0)
122  , max_reject(100000)
124  , trim_spaces(true)
125  , retry_count(100)
126  , retry_wait(5)
127  , batch_size(1000)
130  , lonlat(true)
134  , geo_coords_srid(4326)
135  , sanitize_column_names(true)
136  , geo_explode_collections(false)
137  , geo_validate_geometry{false}
138  , source_srid(0)
143  , raster_drop_if_all_null{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 145 of file CopyParams.h.

146  : delimiter(d)
147  , null_str(n)
149  , quoted(true)
150  , quote('"')
151  , escape('"')
152  , line_delim(l)
153  , array_delim(',')
154  , array_begin('{')
155  , array_end('}')
156  , threads(0)
157  , max_reject(100000)
159  , trim_spaces(true)
160  , retry_count(retries)
161  , retry_wait(wait)
162  , batch_size(b)
165  , lonlat(true)
169  , geo_coords_srid(4326)
170  , sanitize_column_names(true)
171  , geo_explode_collections(false)
172  , geo_validate_geometry{false}
173  , source_srid(0)
178  , raster_drop_if_all_null{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
bool import_export::CopyParams::raster_drop_if_all_null
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: