Expand description
Contains column writer API.
Modules§
- encoder π
Macros§
- downcast_
writer π
Structs§
- Column
Close Result - Metadata returned by
GenericColumnWriter::close
- Column
Metrics π - Generic
Column Writer - Generic column writer for a primitive column.
- Page
Metrics π
Enums§
- Column
Writer - Column writer for a Parquet type.
- Level
Deprecated
Functions§
- compare_
greater π - Evaluate
a > b
according to underlying logical type. - compare_
greater_ πbyte_ array_ decimals - Signed comparison of bytes arrays
- fallback_
encoding π - Returns encoding for a column when no other encoding is provided in writer properties.
- get_
column_ writer - Gets a specific column writer corresponding to column descriptor
descr
. - get_
typed_ column_ writer - Gets a typed column writer for the specific type
T
, by βup-castingβcol_writer
of non-generic type to a generic column writer typeColumnWriterImpl
. - get_
typed_ column_ writer_ mut - Similar to
get_typed_column_writer
but returns a reference. - get_
typed_ column_ writer_ ref - Similar to
get_typed_column_writer
but returns a reference. - has_
dictionary_ πsupport - Returns true if dictionary is supported for column writer, false otherwise.
- increment π
- Try and increment the bytes from right to left.
- increment_
utf8 π - Increment the final character in a UTF-8 string in such a way that the returned result
is still a valid UTF-8 string. The returned string may be shorter than the input if the
last character(s) cannot be incremented (due to overflow or producing invalid code points).
Returns
None
if the string cannot be incremented. - is_nan π
- truncate_
and_ πincrement_ utf8 - Truncate a UTF-8 slice and increment itβs final character. The returned value is the
longest such slice that is still a valid UTF-8 string while being less than
length
bytes and non-empty. ReturnsNone
if no such transformation is possible. - truncate_
utf8 π - Truncate a UTF-8 slice to the longest prefix that is still a valid UTF-8 string,
while being less than
length
bytes and non-empty. ReturnsNone
if truncation is not possible within those constraints. - update_
max π - update_
min π - update_
stat π - Perform a conditional update of
cur
, skipping any NaN values
Type Aliases§
- Column
Writer Impl - Typed column writer for a primitive column.