Module lance_encoding::encoder
source · Structs§
- A batch encoder that encodes RecordBatch objects by delegating to field encoders for each top-level field in the batch.
- Keeps track of the current column index and makes a mapping from field id to column index
- The core array encoding strategy is a set of basic encodings that are generally applicable in most scenarios.
- The core field encoding strategy is a set of basic encodings that are generally applicable in most scenarios.
- An encoded array
- An encoded batch of data and a page table describing it
- An encoded buffer
- An encoded page of data
Traits§
- Encodes data from Arrow format into some kind of on-disk format
- A trait to pick which encoding strategy to use for a single page of data
- Encodes data into a single buffer
- A trait to pick which encoding strategy will be used for a single buffer of data
- Top level encoding trait to code any Arrow array type into one or more pages.
- A trait to pick which kind of field encoding to use for a field
Functions§
- Helper method to encode a batch of data into memory
Type Aliases§
- A task to create a page of data