Skip to main content

Module arrow

Module arrow 

Source
Expand description

A protobuf representation of Apache Arrow arrays.

§Motivation

Persist can store a small amount of data inline at the consensus layer. Because we are space constrained, we take particular care to store only the data that is necessary. Other Arrow serialization formats, e.g. Parquet or Arrow IPC, include data that we don’t need and would be wasteful to store.

Structs§

ArrayBound
An array with precisely one entry, for use as a lower bound.
ArrayIdx
A struct representing a particular entry in a particular array. Most useful for its Ord implementation, which can compare entire rows across similarly-typed arrays.
ProtoArrayData
ProtoDataType

Enums§

ArrayOrd
Wraps a single arrow array, downcasted to a specific type.

Functions§

fields_for_type
Extract the list of fields for our recursive datatypes.