ModulesΒ§
- columnar π
- columnation π
- encode π
- A permanent storage encoding for rows.
- iter
- Defines a βlending iteratorβ for
Row - proto_
datum - Nested message and enum types in
ProtoDatum.
StructsΒ§
- Datum
Dict Iter - Datum
List - A sequence of Datums
- Datum
List Iter - Datum
Map - A mapping from string keys to Datums
- Datum
Nested - Represents a single
Datum, appropriate to be nested inside otherDatums. - Proto
Array - Proto
Array Dimension - Proto
Datum - Proto
Dict - Proto
Dict Element - Proto
Numeric - See [dec::to_packed_bcd] and http://speleotrove.com/decimal/dnpack.html for more information on this format.
- Proto
Range - Proto
Range Inner - Proto
Row - Row
- A packed representation for
Datums. - RowArena
RowArenais used to hold on to temporaryRows for functions likeevalthat need to create complexDatums but donβt have aRowto put them in yet.- RowPacker
- Packs datums into a
Row. - RowRef
- A contiguous slice of bytes that are row data.
- Shared
Row - A thread-local row, which can be borrowed and returned.
EnumsΒ§
- Proto
Datum Other - Tag π
ConstantsΒ§
FunctionsΒ§
- checked_
timestamp_ πnanos - Returns an i64 representing a
NaiveDateTime, if said i64 can be round-tripped back to aNaiveDateTime. - date_
to_ πarray - datum_
list_ size - Number of bytes required by a list of datums. This computes the size that would be required if the given datums were packed into a list.
- datum_
size - Number of bytes required by the datum. This is used to optimistically pre-allocate buffers for packing rows.
- datums_
size - Number of bytes required by a sequence of datums.
- min_
bytes_ πsigned - min_
bytes_ πunsigned - naive_
date_ πto_ arrays - push_
date π - push_
datum π - push_
lengthed_ πbytes - push_
naive_ πdate - push_
time π - push_
untagged_ πbytes - read_
byte π - read_
byte_ πarray - read_
byte_ πarray_ extending_ negative - Read
lengthbytes fromdataatoffset, updating the latter. Extend the resulting buffer to a negativeN-byte twos complement integer by filling the remaining bits with 1. - read_
byte_ πarray_ extending_ nonnegative - Read
lengthbytes fromdataatoffset, updating the latter. Extend the resulting buffer to a positive or zeroN-byte twos complement integer by filling the remaining bits with 0. - read_
byte_ πarray_ sign_ extending - Read
lengthbytes fromdataatoffset, updating the latter. Extend the resulting buffer to an array ofNbytes by insertingFILLin the k most significant bytes, where k = N - length. - read_
date π - read_
datum β - Read a datum starting at byte
offset. - read_
lengthed_ π βdatum - Read a data whose length is encoded in the row before its contents.
- read_
naive_ πdate - read_
time π - read_
untagged_ πbytes - Read a byte slice starting at byte
offset. - row_
size - Return the number of bytes these Datums would use if packed as a Row.
- time_
to_ πarrays