Module row

Source

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Β§

DatumDictIter
DatumList
A sequence of Datums
DatumListIter
DatumMap
A mapping from string keys to Datums
DatumNested
Represents a single Datum, appropriate to be nested inside other Datums.
ProtoArray
ProtoArrayDimension
ProtoDatum
ProtoDict
ProtoDictElement
ProtoNumeric
See [dec::to_packed_bcd] and http://speleotrove.com/decimal/dnpack.html for more information on this format.
ProtoRange
ProtoRangeInner
ProtoRow
Row
A packed representation for Datums.
RowArena
RowArena is used to hold on to temporary Rows for functions like eval that need to create complex Datums but don’t have a Row to put them in yet.
RowPacker
Packs datums into a Row.
RowRef
A contiguous slice of bytes that are row data.
SharedRow
A thread-local row, which can be borrowed and returned.

EnumsΒ§

ProtoDatumOther
Tag πŸ”’

ConstantsΒ§

LONG πŸ”’
SHORT πŸ”’
TINY πŸ”’

FunctionsΒ§

checked_timestamp_nanos πŸ”’
Returns an i64 representing a NaiveDateTime, if said i64 can be round-tripped back to a NaiveDateTime.
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 length bytes from data at offset, updating the latter. Extend the resulting buffer to a negative N-byte twos complement integer by filling the remaining bits with 1.
read_byte_array_extending_nonnegative πŸ”’
Read length bytes from data at offset, updating the latter. Extend the resulting buffer to a positive or zero N-byte twos complement integer by filling the remaining bits with 0.
read_byte_array_sign_extending πŸ”’
Read length bytes from data at offset, updating the latter. Extend the resulting buffer to an array of N bytes by inserting FILL in 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 πŸ”’