API Reference#
This is the reference documentation for the entire public API of quivr.
The quivr module is the public API. The submodules of
quivr (for example, quivr.tables or
quivr.columns) are not for direct access.
Table of Contents#
Primary API Objects#
Column Types#
A Column is an accessor for data in a Table, and also a descriptor for the Table's structure. |
|
A column which represents an embedded Quivr table. |
|
A column for storing 8-bit integers. |
|
A column for storing 16-bit integers. |
|
A column for storing 32-bit integers. |
|
A column for storing 64-bit integers. |
|
A column for storing 8-bit unsigned integers. |
|
A column for storing 16-bit unsigned integers. |
|
A column for storing 32-bit unsigned integers. |
|
A column for storing 64-bit unsigned integers. |
|
A column for storing 16-bit floating point numbers. |
|
A column for storing 32-bit floating point numbers. |
|
A column for storing 64-bit floating point numbers. |
|
A column for storing arbitrary-precision decimal numbers. |
|
A column for storing arbitrary-precision decimal numbers. |
|
A column for storing strings. |
|
A column for storing large strings (over 231 bytes long). |
|
A column for storing opaque binary data. |
|
A column for storing large binary objects (over 231 bytes long). |
|
A column for storing timestamps. |
|
A column which stores an absolute length of time. |
|
A column for storing time values. |
|
A column for storing time values with high precision. |
|
A column for storing dates. |
|
A column for storing dates. |
|
A column for storing calendar intervals (an elapsed number of months, days, and nanoseconds). |
|
A column for storing null values. |
|
A column for storing structured data. |
|
A column for storing variably-sized lists of values. |
|
A column for storing large lists of values (over 231 objects). |
|
A column for storing maps of key-value pairs. |
|
A column for storing dictionary-encoded values. |
|
A column for storing run-end encoded data. |
Column Validators#
A Validator is a tool to validate that data in a |
|
Validator that all data in a column is equal to a given value. |
|
Validator that all data in a column is less than a given value. |
|
Validator that all data in a column is less than or equal to a given value. |
|
Validator that all data in a column is greater than a given value. |
|
Validator that all data in a column is greater than or equal to a given value. |
|
Validator that all data in a column is in a given set. |
|
Validator that all data in a column passes all of the given validators. |
Table Attributes#
StringAttribute represents a string which is stored as UTF-8 bytes in Table metadata. |
|
IntAttribute represents an integer which is stored as little-endian bytes in Table metadata. |
|
FloatAttribute represents a floating-point number which is stored as little-endian bytes in Table metadata. |
Utility Functions#
Concatenate a collection of Tables into a single Table. |
|
Condense the underlying memory which backs the table to make it all contiguous. |