|
sparrow-ipc 0.3.0
|
Encapsulates the description of a field to be deserialized. More...
#include <deserialization_context.hpp>
Public Member Functions | |
| field_descriptor (int64_t length, std::string name, std::optional< std::vector< sparrow::metadata_pair > > metadata, std::optional< std::unordered_set< sparrow::ArrowFlag > > flags, bool decode_dictionary_indices, const org::apache::arrow::flatbuf::Field &field, const dictionary_cache *dictionaries) | |
Public Attributes | |
| int64_t | length |
| std::string | name |
| std::optional< std::vector< sparrow::metadata_pair > > | metadata |
| std::optional< std::unordered_set< sparrow::ArrowFlag > > | flags |
| bool | decode_dictionary_indices |
| const org::apache::arrow::flatbuf::Field & | field |
| const dictionary_cache * | dictionaries = nullptr |
Encapsulates the description of a field to be deserialized.
This struct groups parameters that describe the specific field that is currently being processed by the deserializer.
| length | The number of elements in the array to deserialize. |
| name | The name of the field. |
| metadata | The metadata associated with the field. |
| flags | The flags associated with the field (e.g., nullable, map keys sorted). |
| decode_dictionary_indices | Whether dictionary-annotated fields should be read from their physical index buffers (true) or interpreted as logical dictionary values (false). |
| field | The Flatbuffer Field object describing the array to deserialize. |
| dictionaries | Cache for dictionaries. |
Definition at line 69 of file deserialization_context.hpp.
|
inline |
Definition at line 79 of file deserialization_context.hpp.
| bool sparrow_ipc::field_descriptor::decode_dictionary_indices |
Definition at line 75 of file deserialization_context.hpp.
| const dictionary_cache* sparrow_ipc::field_descriptor::dictionaries = nullptr |
Definition at line 77 of file deserialization_context.hpp.
| const org::apache::arrow::flatbuf::Field& sparrow_ipc::field_descriptor::field |
Definition at line 76 of file deserialization_context.hpp.
| std::optional<std::unordered_set<sparrow::ArrowFlag> > sparrow_ipc::field_descriptor::flags |
Definition at line 74 of file deserialization_context.hpp.
| int64_t sparrow_ipc::field_descriptor::length |
Definition at line 71 of file deserialization_context.hpp.
| std::optional<std::vector<sparrow::metadata_pair> > sparrow_ipc::field_descriptor::metadata |
Definition at line 73 of file deserialization_context.hpp.
| std::string sparrow_ipc::field_descriptor::name |
Definition at line 72 of file deserialization_context.hpp.