File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -90,14 +90,14 @@ bool Schema::Equals(const Schema& other) const {
9090Result<std::optional<std::reference_wrapper<const SchemaField>>> Schema::FindFieldByName (
9191 std::string_view name, bool case_sensitive) const {
9292 if (case_sensitive) {
93- ICEBERG_ASSIGN_OR_RAISE (auto * name_to_id, name_to_id_.get (*this ));
93+ ICEBERG_ASSIGN_OR_RAISE (auto * name_to_id, name_to_id_.Get (*this ));
9494 auto it = name_to_id->find (name);
9595 if (it == name_to_id->end ()) {
9696 return std::nullopt ;
9797 };
9898 return FindFieldById (it->second );
9999 }
100- ICEBERG_ASSIGN_OR_RAISE (auto * lowercase_name_to_id, lowercase_name_to_id_.get (*this ));
100+ ICEBERG_ASSIGN_OR_RAISE (auto * lowercase_name_to_id, lowercase_name_to_id_.Get (*this ));
101101 auto it = lowercase_name_to_id->find (StringUtils::ToLower (name));
102102 if (it == lowercase_name_to_id->end ()) {
103103 return std::nullopt ;
@@ -136,7 +136,7 @@ Schema::InitLowerCaseNameToIdMap(const Schema& self) {
136136
137137Result<std::optional<std::reference_wrapper<const SchemaField>>> Schema::FindFieldById (
138138 int32_t field_id) const {
139- ICEBERG_ASSIGN_OR_RAISE (auto * id_to_field, id_to_field_.get (*this ));
139+ ICEBERG_ASSIGN_OR_RAISE (auto * id_to_field, id_to_field_.Get (*this ));
140140 auto it = id_to_field->find (field_id);
141141 if (it == id_to_field->end ()) {
142142 return std::nullopt ;
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ std::string StructType::ToString() const {
5151std::span<const SchemaField> StructType::fields () const { return fields_; }
5252Result<std::optional<NestedType::SchemaFieldConstRef>> StructType::GetFieldById (
5353 int32_t field_id) const {
54- ICEBERG_ASSIGN_OR_RAISE (auto * field_by_id, field_by_id_.get (*this ));
54+ ICEBERG_ASSIGN_OR_RAISE (auto * field_by_id, field_by_id_.Get (*this ));
5555 auto it = field_by_id->find (field_id);
5656 if (it == field_by_id->end ()) return std::nullopt ;
5757 return it->second ;
@@ -66,15 +66,15 @@ Result<std::optional<NestedType::SchemaFieldConstRef>> StructType::GetFieldByInd
6666Result<std::optional<NestedType::SchemaFieldConstRef>> StructType::GetFieldByName (
6767 std::string_view name, bool case_sensitive) const {
6868 if (case_sensitive) {
69- ICEBERG_ASSIGN_OR_RAISE (auto * field_by_name, field_by_name_.get (*this ));
69+ ICEBERG_ASSIGN_OR_RAISE (auto * field_by_name, field_by_name_.Get (*this ));
7070 auto it = field_by_name->find (name);
7171 if (it != field_by_name->end ()) {
7272 return it->second ;
7373 }
7474 return std::nullopt ;
7575 }
7676 ICEBERG_ASSIGN_OR_RAISE (auto * field_by_lowercase_name,
77- field_by_lowercase_name_.get (*this ));
77+ field_by_lowercase_name_.Get (*this ));
7878 auto it = field_by_lowercase_name->find (StringUtils::ToLower (name));
7979 if (it != field_by_lowercase_name->end ()) {
8080 return it->second ;
You can’t perform that action at this time.
0 commit comments