[ 
https://issues.apache.org/jira/browse/IGNITE-24021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Mashenkov updated IGNITE-24021:
--------------------------------------
    Summary: Sql. Code cleanup.  (was: Sql. Extend Cache API to support 
SQL-schemas.)

> Sql. Code cleanup.
> ------------------
>
>                 Key: IGNITE-24021
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24021
>             Project: Ignite
>          Issue Type: Improvement
>          Components: cache, sql, thin client
>            Reporter: Andrey Mashenkov
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0
>
>
> Extend Ignite Cache API with supporting SQL-schemas.
> Add missed methods and fix exited, so interface looks like this.
> {code:java}
> interface IgniteCaches {
>     /** Gets a list of all caches */
>     List<Cache> caches();
>  
>     /** Gets a list of caches that belong to requested schema.*/
>     List<Cache> caches(String schemaName); // Optional
>  
>     /** Gets a cache with specified name. */
>     @Nullable Cache cache(QualifiedName cacheName);
>     /** Shortcut method for better UX. */
>     @Nullable Cache cache(String cacheName) {
>         return cache(QualifiedName.parse(cacheName));
>     }
>  
>     /* ... + async methods ... */
> }
> {code}
> Add integration tests, which checks cache names are correctly resolved.



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

Reply via email to