Returns default state of the builder.
Finalizes the configuration and returns immutable writer properties struct.
Sets compression codec for a column. Takes precedence over globally defined settings.
Sets flag to enable/disable dictionary encoding for a column. Takes precedence over globally defined settings.
Sets encoding for a column. Takes precedence over globally defined settings.
If dictionary is not enabled, this is treated as a primary encoding for this column. In case when dictionary is enabled for this column, either through global defaults or explicitly, this value is considered to be a fallback encoding for this column.
Panics if user tries to set dictionary encoding here, regardless of dictionary encoding flag being set.
Sets flag to enable/disable statistics for a column. Takes precedence over globally defined settings.
Sets compression codec for any column.
EXPERIMENTAL: Enables content-defined chunking, which writes data pages at boundaries determined by the column values so that unchanged data produces identical bytes across file versions. Omitted options use the upstream defaults.
Throws if:
minChunkSize is 0maxChunkSize is not greater than minChunkSizeOptionaloptions: ContentDefinedChunkingOptions | nullSets flag to enable/disable dictionary encoding for any column.
Use this method to set dictionary encoding, instead of explicitly specifying
encoding in set_encoding method.
Sets encoding for any column.
If dictionary is not enabled, this is treated as a primary encoding for all columns. In case when dictionary is enabled for any column, this value is considered to be a fallback encoding for that column.
Panics if user tries to set dictionary encoding here, regardless of dictionary encoding flag being set.
Sets "key_value_metadata" property.
Sets maximum number of rows in a row group.
Sets flag to enable/disable statistics for any column.
Builder to create a writing configuration for
writeParquetCall
buildon the finished builder to create an immputableWriterPropertiesto pass towriteParquet