@@ -93,11 +93,11 @@ struct ICEBERG_EXPORT TableMetadata {
9393 // / The highest assigned column ID for the table
9494 int32_t last_column_id;
9595 // / A list of schemas
96- std::vector<std::shared_ptr<iceberg:: Schema>> schemas;
96+ std::vector<std::shared_ptr<class Schema >> schemas;
9797 // / ID of the table's current schema
9898 std::optional<int32_t > current_schema_id;
9999 // / A list of partition specs
100- std::vector<std::shared_ptr<iceberg:: PartitionSpec>> partition_specs;
100+ std::vector<std::shared_ptr<class PartitionSpec >> partition_specs;
101101 // / ID of the current partition spec that writers should use by default
102102 int32_t default_spec_id;
103103 // / The highest assigned partition field ID across all partition specs for the table
@@ -107,15 +107,15 @@ struct ICEBERG_EXPORT TableMetadata {
107107 // / ID of the current table snapshot
108108 int64_t current_snapshot_id;
109109 // / A list of valid snapshots
110- std::vector<std::shared_ptr<iceberg:: Snapshot>> snapshots;
110+ std::vector<std::shared_ptr<class Snapshot >> snapshots;
111111 // / A list of timestamp and snapshot ID pairs that encodes changes to the current
112112 // / snapshot for the table
113113 std::vector<SnapshotLogEntry> snapshot_log;
114114 // / A list of timestamp and metadata file location pairs that encodes changes to the
115115 // / previous metadata files for the table
116116 std::vector<MetadataLogEntry> metadata_log;
117117 // / A list of sort orders
118- std::vector<std::shared_ptr<iceberg:: SortOrder>> sort_orders;
118+ std::vector<std::shared_ptr<class SortOrder >> sort_orders;
119119 // / Default sort order id of the table
120120 int32_t default_sort_order_id;
121121 // / A map of snapshot references
@@ -128,27 +128,27 @@ struct ICEBERG_EXPORT TableMetadata {
128128 int64_t next_row_id;
129129
130130 static Result<std::unique_ptr<TableMetadata>> Make (
131- const iceberg:: Schema& schema, const iceberg:: PartitionSpec& spec,
132- const iceberg:: SortOrder& sort_order, const std::string& location,
131+ const class Schema & schema, const class PartitionSpec & spec,
132+ const class SortOrder & sort_order, const std::string& location,
133133 const std::unordered_map<std::string, std::string>& properties,
134134 int format_version = kDefaultTableFormatVersion );
135135
136136 // / \brief Get the list of changes required to create this table metadata from scratch
137137 std::vector<std::unique_ptr<TableUpdate>> ChangesForCreate () const ;
138138
139139 // / \brief Get the current schema, return NotFoundError if not found
140- Result<std::shared_ptr<iceberg:: Schema>> Schema () const ;
140+ Result<std::shared_ptr<class Schema >> Schema () const ;
141141 // / \brief Get the current schema by ID, return NotFoundError if not found
142- Result<std::shared_ptr<iceberg:: Schema>> SchemaById (
142+ Result<std::shared_ptr<class Schema >> SchemaById (
143143 std::optional<int32_t > schema_id) const ;
144144 // / \brief Get the current partition spec, return NotFoundError if not found
145- Result<std::shared_ptr<iceberg:: PartitionSpec>> PartitionSpec () const ;
145+ Result<std::shared_ptr<class PartitionSpec >> PartitionSpec () const ;
146146 // / \brief Get the current sort order, return NotFoundError if not found
147- Result<std::shared_ptr<iceberg:: SortOrder>> SortOrder () const ;
147+ Result<std::shared_ptr<class SortOrder >> SortOrder () const ;
148148 // / \brief Get the current snapshot, return NotFoundError if not found
149- Result<std::shared_ptr<iceberg:: Snapshot>> Snapshot () const ;
149+ Result<std::shared_ptr<class Snapshot >> Snapshot () const ;
150150 // / \brief Get the snapshot of this table with the given id
151- Result<std::shared_ptr<iceberg:: Snapshot>> SnapshotById (int64_t snapshot_id) const ;
151+ Result<std::shared_ptr<class Snapshot >> SnapshotById (int64_t snapshot_id) const ;
152152
153153 ICEBERG_EXPORT friend bool operator ==(const TableMetadata& lhs,
154154 const TableMetadata& rhs);
0 commit comments