Enumsยง
- Offset
Size ๐Bytes - Used to unpack offset array entries such as metadata dictionary offsets or object/array value
offsets. Also used to unpack object field ids. These are always derived from a two-bit
XXX_size_minus_one
field in the corresponding header byte. - Variant
Basic Type - The basic type of a
Variant
value, encoded in the first two bits of the header byte. - Variant
Primitive Type - The type of
VariantBasicType::Primitive
, for a primitiveVariant
value.
Functionsยง
- decode_
binary ๐ - Decodes a Binary from the value section of a variant.
- decode_
date ๐ - Decodes a Date from the value section of a variant.
- decode_
decimal4 ๐ - Decodes a Decimal4 from the value section of a variant.
- decode_
decimal8 ๐ - Decodes a Decimal8 from the value section of a variant.
- decode_
decimal16 ๐ - Decodes a Decimal16 from the value section of a variant.
- decode_
double ๐ - Decodes a Double from the value section of a variant.
- decode_
float ๐ - Decodes a Float from the value section of a variant.
- decode_
int8 ๐ - Decodes an Int8 from the value section of a variant.
- decode_
int16 ๐ - Decodes an Int16 from the value section of a variant.
- decode_
int32 ๐ - Decodes an Int32 from the value section of a variant.
- decode_
int64 ๐ - Decodes an Int64 from the value section of a variant.
- decode_
long_ ๐string - Decodes a long string from the value section of a variant.
- decode_
short_ ๐string - Decodes a short string from the value section of a variant.
- decode_
timestamp_ ๐micros - Decodes a TimestampMicros from the value section of a variant.
- decode_
timestampntz_ ๐micros - Decodes a TimestampNtzMicros from the value section of a variant.
- get_
basic_ ๐type - Extracts the basic type from a header byte
- get_
primitive_ ๐type - Extract the primitive type from a Variant value-metadata byte
- map_
bytes_ ๐to_ offsets - Converts a byte buffer to offset values based on the specific offset size