Skip to main content
pub struct ExportRecordsToTableRequestOptions 
    pub batch_size: String,
    pub datasink_name: String,
    pub jdbc_session_init_statement: String,
    pub jdbc_connection_init_statement: String,
    pub remote_table: String,
    pub use_st_geomfrom_casts: String,
    pub use_indexed_parameters: String,

Optional parameters for the /export/records/totable endpoint.

Default::default() is the empty set: only options set explicitly are sent, and anything left empty falls back to the server’s own default.

Fields

batch_size: String

Batch size, which determines how many rows to export per round trip. Server default: 200000.

datasink_name: String

Name of an existing external data sink to which table name specified in table_name will be exported.

jdbc_session_init_statement: String

Executes the statement per each JDBC session before doing actual load.

jdbc_connection_init_statement: String

Executes the statement once before doing actual load.

remote_table: String

Name of the target table to which source table is exported. When this option is specified remote_query cannot be specified.

use_st_geomfrom_casts: String

Wraps parameterized variables with st_geomfromtext or st_geomfromwkb based on source column type. Server default: false.

use_indexed_parameters: String

Uses $n style syntax when generating insert query for remote_table option. Server default: false.

Implementations

Converts the set (non-empty) options into the wire-format string map.

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more