You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Pereslegin (Jira)" <ji...@apache.org> on 2024/12/17 14:00:00 UTC
[jira] [Updated] (IGNITE-24029) Schema support. Make Table API use QualifiedName
[ https://issues.apache.org/jira/browse/IGNITE-24029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Pereslegin updated IGNITE-24029:
--------------------------------------
Ignite Flags: (was: Docs Required,Release Notes Required)
> Schema support. Make Table API use QualifiedName
> ------------------------------------------------
>
> Key: IGNITE-24029
> URL: https://issues.apache.org/jira/browse/IGNITE-24029
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Reporter: Pavel Pereslegin
> Priority: Major
> Labels: ignite-3
>
> It is necessary to introduce new methods in IgniteTables that use {{QualifiedName}} instead of simple String.
> And change the old ones to use the new ones using the helper method {{QualifiedName.parseof(String)}}.
> {code:java}
> interface IgniteTables {
> /** Gets a list of all tables */
> List<Table> tables();
> /** Gets a list of tables that belong to requested schema. */
> List<Table> tables(String schemaName);
> /** Gets a table with specified name. */
> @Nullable Table table(QualifiedName tableName);
> @Nullable Table table(String tableName) {
> return table(QualifiedName.parse(tableName));
> }
> /* ... + async methods ... */
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)