| 1155 | } |
| 1156 | |
| 1157 | std::shared_ptr<Array> StructArray::GetFieldByName(const std::string& name) const { |
| 1158 | int i = struct_type()->GetFieldIndex(name); |
| 1159 | return i == -1 ? nullptr : field(i); |
| 1160 | } |
| 1161 | |
| 1162 | Status StructArray::CanReferenceFieldByName(const std::string& name) const { |
| 1163 | if (GetFieldByName(name) == nullptr) { |