Andrey Mashenkov created IGNITE-24321:
-----------------------------------------

             Summary: Avoid return null from CatalogService methods. 
                 Key: IGNITE-24321
                 URL: https://issues.apache.org/jira/browse/IGNITE-24321
             Project: Ignite
          Issue Type: Improvement
            Reporter: Andrey Mashenkov
            Assignee: Andrey Mashenkov
             Fix For: 3.1


On one hand, `Catalog` class is an internal container for descriptors and 
wasn't designed to be used directly outside the module.
On the other hand `CatalogService` interface has a bunch of similar methods for 
accessing catalog internals.

Let's disclose `Catalog` class: describe it in README.md of `ignite-catalog` 
module, write javadocs and maybe add some shortcut method (e.g. 
`table(schemaName, tableName)`)
Let's remove all the methods, which returns `Catalog` class internals, from 
`CatalogService`.
So, `CatalogService` should have few methods that answer the question: 
* which catalog version is actual at point-in-time
* which catalog version is earliest/latest
* when catalog is initialized/catalog version is ready by returning a future.
* gets `Catalog` snapshot for version/point-in-time



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to