pub struct WriterProperties { /* private fields */ }
Expand description

Writer properties.

All properties except the key-value metadata are immutable, use WriterPropertiesBuilder to assemble these properties.

Implementations

Returns builder for writer properties with default values.

Returns data page size limit.

Note: this is a best effort limit based on the write batch size

Returns dictionary page size limit.

Note: this is a best effort limit based on the write batch size

Returns the maximum page row count

This can be used to limit the number of rows within a page to yield better page pruning

Note: this is a best effort limit based on the write batch size

Returns configured batch size for writes.

When writing a batch of data, this setting allows to split it internally into smaller batches so we can better estimate the size of a page currently being written.

Returns maximum number of rows in a row group.

Returns configured writer version.

Returns created_by string.

Returns key_value_metadata KeyValue pairs.

Returns encoding for a data page, when dictionary encoding is enabled. This is not configurable.

Returns encoding for dictionary page, when dictionary encoding is enabled. This is not configurable.

Returns encoding for a column, if set. In case when dictionary is enabled, returns fallback encoding.

If encoding is not set, then column writer will choose the best encoding based on the column type.

Returns compression codec for a column.

Returns true if dictionary encoding is enabled for a column.

Returns true if statistics are enabled for a column.

Returns max size for statistics. Only applicable if statistics are enabled.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.