Module encode

Source
Expand description

A permanent storage encoding for rows.

See row.proto for details.

ModulesΒ§

fixed_binary_sizes πŸ”’

StructsΒ§

DatumEncoder πŸ”’
An encoder for a column of Datums.
RowColumnarDecoder
A ColumnDecoder for a Row.
RowColumnarEncoder
A ColumnEncoder for a Row.

EnumsΒ§

DatumColumnDecoder πŸ”’
A decoder for a column of Datums.
DatumColumnEncoder πŸ”’
An encoder for a single column of Datums. To encode an entire row see RowColumnarEncoder.

FunctionsΒ§

array_to_decoder πŸ”’
Small helper function to downcast from an array to a DatumColumnDecoder.
downcast_array πŸ”’
Small helper method to make downcasting an Array return an error.
mask_nulls πŸ”’
Merge the provided null buffer with the existing array’s null buffer, if any.
preserves_order
Returns true iff the ordering of the β€œraw” and Persist-encoded versions of this columm would match: ie. sort(encode(column)) == encode(sort(column)). This encoding has been designed so that this is true for many types.
scalar_type_to_encoder πŸ”’
Small helper function to create a DatumColumnEncoder from a ScalarType