pub struct ArrowExportOptions {
pub batch_size: usize,
pub null_value: Option<String>,
pub schema: Option<Arc<Schema>>,
pub column_separator: char,
pub column_delimiter: char,
pub host: String,
pub port: u16,
pub use_encryption: bool,
}Expand description
Options for Arrow export operations.
Fields§
§batch_size: usizeNumber of rows per RecordBatch (default: 1024)
null_value: Option<String>Custom NULL value representation in CSV (default: empty string)
schema: Option<Arc<Schema>>Optional explicit Arrow schema (if not provided, will be inferred)
column_separator: charColumn separator in CSV (default: ‘,’)
column_delimiter: charColumn delimiter/quote character (default: ‘“’)
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.
use_encryption: boolWhether to use TLS for the HTTP transport connection.
Default is false because the main WebSocket connection typically
already handles TLS encryption.
Implementations§
Source§impl ArrowExportOptions
impl ArrowExportOptions
pub fn with_batch_size(self, batch_size: usize) -> Self
pub fn with_null_value(self, null_value: impl Into<String>) -> Self
pub fn with_schema(self, schema: Arc<Schema>) -> Self
pub fn with_column_separator(self, sep: char) -> Self
pub fn with_column_delimiter(self, delim: char) -> Self
Sourcepub fn exasol_host(self, host: impl Into<String>) -> Self
pub fn exasol_host(self, host: impl Into<String>) -> Self
Sets the Exasol host for HTTP transport connection.
This is typically the same host as the WebSocket connection.
Sourcepub fn exasol_port(self, port: u16) -> Self
pub fn exasol_port(self, port: u16) -> Self
Sets the Exasol port for HTTP transport connection.
This is typically the same port as the WebSocket connection.
Sourcepub fn use_encryption(self, use_encryption: bool) -> Self
pub fn use_encryption(self, use_encryption: bool) -> Self
Sets whether to use TLS for the HTTP transport connection.
Default is false because the main WebSocket connection typically
already handles TLS encryption for the control channel.
Trait Implementations§
Source§impl Clone for ArrowExportOptions
impl Clone for ArrowExportOptions
Source§fn clone(&self) -> ArrowExportOptions
fn clone(&self) -> ArrowExportOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more