You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Mashenkov (Jira)" <ji...@apache.org> on 2024/12/17 13:20:00 UTC
[jira] [Updated] (IGNITE-24021) Sql. Extend Table API to support SQL-schemas.
[ https://issues.apache.org/jira/browse/IGNITE-24021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrey Mashenkov updated IGNITE-24021:
--------------------------------------
Summary: Sql. Extend Table API to support SQL-schemas. (was: Sql. Make Table API to support SQL-schemas.)
> Sql. Extend Table API to support SQL-schemas.
> ---------------------------------------------
>
> 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)