76 std::optional<std::string>
title;
114 const std::vector<AttrIndexInfo>&
attr_indices()
const {
return attr_indices_; }
120 const ::Header* raw()
const;
122 std::shared_ptr<const std::vector<std::uint8_t>> buffer_;
125 std::vector<AttrIndexInfo> attr_indices_;
HeaderView read_header(std::shared_ptr< RangeReader > reader)
Read and validate the file preamble and header.
Where one column's B+tree index lives, and how it is shaped.
std::uint16_t column_index
std::uint32_t num_unique_items
std::uint16_t branching_factor
One attribute column's schema, copied out of the header.
Everything a caller normally wants from the header, as owned values.
std::optional< std::string > identifier
Schema-optional strings, held as std::optional because the Rust oracle distinguishes ABSENT from PRES...
std::uint16_t index_node_size
std::optional< std::string > poc_contact_name
Point of contact, all optional (header.fbs:151-161).
std::optional< std::string > poc_phone
std::string poc_address_thoroughfare_name
std::optional< std::string > poc_contact_type
std::string poc_address_thoroughfare_number
Address sub-object: each member is emitted iff NON-EMPTY, independently of the others,...
std::optional< std::string > poc_website
std::string poc_address_country
std::uint64_t features_count
std::vector< ColumnInfo > columns
std::array< double, 3 > scale
std::string crs
Derived from Header.reference_system, so it has no absent-vs-empty distinction of its own to preserve...
std::optional< std::string > poc_role
std::optional< std::string > poc_email
std::array< double, 3 > translate
std::string poc_address_locality
std::array< double, 6 > geographical_extent
std::string cityjson_version
(required) in header.fbs, so never absent in a valid file.
std::string poc_address_postcode
std::vector< ColumnInfo > semantic_columns
Schema for SemanticObject.attributes, which is separate from the feature attribute schema (Header....
std::optional< std::string > title
std::optional< std::string > reference_date
Byte offsets of each section.