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 2025/01/20 12:22:00 UTC

[jira] [Created] (IGNITE-24261) Sql schema. Extend C++ Client API with supporting qualified names

Andrey Mashenkov created IGNITE-24261:
-----------------------------------------

             Summary: Sql schema. Extend C++ Client API with supporting qualified names
                 Key: IGNITE-24261
                 URL: https://issues.apache.org/jira/browse/IGNITE-24261
             Project: Ignite
          Issue Type: Improvement
          Components: sql
            Reporter: Andrey Mashenkov


Let's fix table cache in Apache.Ignite.Internal.Table, to support Sql-schemas.
Let's introduce new methods in Client.Tables that use {{QualifiedName}} instead of simple String to be consistent with Java API.

Java API example:
{code:java}
interface IgniteTables {
    /** Gets a list of all tables */
    List<Table> tables();

    /** Gets a table with specified name. */
    @Nullable Table table(QualifiedName tableName);
    @Nullable Table table(String tableName) {
        return table(QualifiedName.parseof(tableName));
    }
}

public interface Table {   
    /** Returns table's qualified name. */    
    QualifiedName tableName();
} 
{code}




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