pub trait CurrentFileStatus {
// Required methods
fn current_file_path(&self) -> String;
fn current_row_num(&self) -> usize;
fn current_written_size(&self) -> usize;
fn current_schema(&self) -> SchemaRef;
}Expand description
The current file status of the Iceberg writer. This is implemented for writers that write a single file at a time.
Required Methods§
Sourcefn current_file_path(&self) -> String
fn current_file_path(&self) -> String
Get the current file path.
Sourcefn current_row_num(&self) -> usize
fn current_row_num(&self) -> usize
Get the current file row number.
Sourcefn current_written_size(&self) -> usize
fn current_written_size(&self) -> usize
Get the current file written size.
Sourcefn current_schema(&self) -> SchemaRef
fn current_schema(&self) -> SchemaRef
Get the current schema used by the writer.