|
sparrow-extensions 0.1.0
Extension types for the sparrow library
|
Classes | |
| struct | uuid_extension |
| UUID array implementation following Arrow canonical extension specification. More... | |
Typedefs | |
| using | bool8_array = sparrow::primitive_array<int8_t, sparrow::simple_extension<"arrow.bool8">, bool> |
| Bool8 array using 8-bit storage for boolean values. | |
| using | json_extension = sparrow::simple_extension<"arrow.json"> |
| using | json_array |
| JSON array with 32-bit offsets. | |
| using | big_json_array |
| JSON array with 64-bit offsets. | |
| using | json_view_array |
| JSON array with view-based storage. | |
| using | uuid_array |
Variables | |
| constexpr int | SPARROW_EXTENSIONS_VERSION_MAJOR = 0 |
| constexpr int | SPARROW_EXTENSIONS_VERSION_MINOR = 1 |
| constexpr int | SPARROW_EXTENSIONS_VERSION_PATCH = 0 |
| constexpr int | SPARROW_EXTENSIONS_BINARY_CURRENT = 1 |
| constexpr int | SPARROW_EXTENSIONS_BINARY_REVISION = 0 |
| constexpr int | SPARROW_EXTENSIONS_BINARY_AGE = 1 |
JSON array with 64-bit offsets.
A variable-size string array for storing JSON-encoded data where the cumulative length of all strings may exceed 2^31-1 bytes. Use this for very large JSON datasets.
The JSON extension type is defined as:
Related Apache Arrow specification: https://arrow.apache.org/docs/format/CanonicalExtensions.html#json
Definition at line 66 of file json_array.hpp.
| using sparrow_extensions::bool8_array = sparrow::primitive_array<int8_t, sparrow::simple_extension<"arrow.bool8">, bool> |
Bool8 array using 8-bit storage for boolean values.
Bool8 represents a boolean value using 1 byte (8 bits) to store each value instead of only 1 bit as in the original Arrow Boolean type. Although less compact than the original representation, Bool8 may have better zero-copy compatibility with various systems that also store booleans using 1 byte.
The Bool8 extension type is defined as:
Definition at line 38 of file bool8_array.hpp.
JSON array with 32-bit offsets.
A variable-size string array for storing JSON-encoded data where the cumulative length of all strings does not exceed 2^31-1 bytes. This is the standard choice for most JSON datasets.
The JSON extension type is defined as:
Related Apache Arrow specification: https://arrow.apache.org/docs/format/CanonicalExtensions.html#json
Definition at line 43 of file json_array.hpp.
| using sparrow_extensions::json_extension = sparrow::simple_extension<"arrow.json"> |
Definition at line 24 of file json_array.hpp.
JSON array with view-based storage.
A variable-size string view array for storing JSON-encoded data using the Binary View layout, which is optimized for performance by storing short values inline and using references to external buffers for longer values.
The JSON extension type is defined as:
Related Apache Arrow specification: https://arrow.apache.org/docs/format/CanonicalExtensions.html#json
Definition at line 90 of file json_array.hpp.
Definition at line 82 of file uuid_array.hpp.
|
constexpr |
Definition at line 25 of file sparrow_extensions_version.hpp.
|
constexpr |
Definition at line 23 of file sparrow_extensions_version.hpp.
|
constexpr |
Definition at line 24 of file sparrow_extensions_version.hpp.
|
constexpr |
Definition at line 19 of file sparrow_extensions_version.hpp.
|
constexpr |
Definition at line 20 of file sparrow_extensions_version.hpp.
|
constexpr |
Definition at line 21 of file sparrow_extensions_version.hpp.