CsvIngest#

pub struct CsvIngest#

Configuration for ingesting a CSV file into an existing dataset.

Implementations#

impl CsvIngest
pub fn new(timestamp: Timestamp) -> Self#
pub fn channel_prefix(self, prefix: impl Into<String>) -> Self#

Prefix every channel name in this file with the given string.

pub fn tag_column(self, tag: impl Into<String>, column: impl Into<String>) -> Self#

Derive the given tag name’s value from the named column.

pub fn additional_file_tag(self, tag: impl Into<String>, value: impl Into<String>) -> Self#

Apply a fixed tag value to every row in this file.

pub fn exclude_column(self, column: impl Into<String>) -> Self#

Exclude the named column from ingestion.

pub fn upload_options(self, options: UploadOptions) -> Self#

Override upload behavior (chunk size, concurrency, retries, progress).

Trait implementations#

Derived: Debug, Clone

Auto traits: Send, Sync, Unpin, !UnwindSafe, !RefUnwindSafe