stevenzwu opened a new pull request, #16160: URL: https://github.com/apache/iceberg/pull/16160
## Summary Adds Java reference implementations for the `CatalogObjectIdentifier` and `CatalogObjectType` schemas added to the REST OpenAPI spec in #16144. - `CatalogObjectIdentifier` (api module): hand-written POJO mirroring `Namespace` — static `of(String...)` factory, null/null-byte validation, `levels()` / `level(i)` / `length()` accessors, dotted `toString`. Accompanied by `CatalogObjectIdentifierParser` (core) for JSON serde and a serializer/deserializer pair registered in `RESTSerializers`. - `CatalogObjectType` (core): string enum with values `TABLE`, `VIEW`, `NAMESPACE` — wire strings `table`, `view`, `namespace`. Mirrors `PlanStatus` with a `fromName` factory. Spec PR: #16144 ## Test plan - [x] `./gradlew :iceberg-api:test --tests TestCatalogObjectIdentifier` - [x] `./gradlew :iceberg-core:test --tests TestCatalogObjectIdentifierParser --tests TestCatalogObjectType` - [x] `./gradlew :iceberg-api:spotlessApply :iceberg-core:spotlessApply` 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
