pub struct ArrowImportOptions {
pub schema: Option<String>,
pub columns: Option<Vec<String>>,
pub batch_size: usize,
pub csv_options: CsvWriterOptions,
pub use_encryption: bool,
pub host: String,
pub port: u16,
}Expand description
Options for Arrow import operations.
Fields§
§schema: Option<String>Target schema name (optional)
columns: Option<Vec<String>>Columns to import (optional, imports all if None)
batch_size: usizeBatch size for chunked processing (default: 10000)
csv_options: CsvWriterOptionsCSV writer options
use_encryption: boolWhether to use TLS encryption for transport
host: StringExasol host for HTTP transport connection. This is typically the same host as the WebSocket connection.
port: u16Exasol port for HTTP transport connection. This is typically the same port as the WebSocket connection.
Implementations§
Source§impl ArrowImportOptions
impl ArrowImportOptions
pub fn schema(self, schema: impl Into<String>) -> Self
pub fn columns(self, columns: Vec<String>) -> Self
pub fn batch_size(self, size: usize) -> Self
pub fn null_value(self, value: impl Into<String>) -> Self
pub fn column_separator(self, sep: char) -> Self
pub fn column_delimiter(self, delim: char) -> Self
pub fn with_encryption(self) -> Self
Sourcepub fn exasol_host(self, host: impl Into<String>) -> Self
pub fn exasol_host(self, host: impl Into<String>) -> Self
Set the Exasol host for HTTP transport connection.
This should be the same host as used for the WebSocket connection.
Sourcepub fn exasol_port(self, port: u16) -> Self
pub fn exasol_port(self, port: u16) -> Self
Set the Exasol port for HTTP transport connection.
This should be the same port as used for the WebSocket connection.
Trait Implementations§
Source§impl Clone for ArrowImportOptions
impl Clone for ArrowImportOptions
Source§fn clone(&self) -> ArrowImportOptions
fn clone(&self) -> ArrowImportOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArrowImportOptions
impl Debug for ArrowImportOptions
Auto Trait Implementations§
impl Freeze for ArrowImportOptions
impl RefUnwindSafe for ArrowImportOptions
impl Send for ArrowImportOptions
impl Sync for ArrowImportOptions
impl Unpin for ArrowImportOptions
impl UnwindSafe for ArrowImportOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more