[
https://issues.apache.org/jira/browse/IGNITE-24261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17952888#comment-17952888
]
Pavel Tupitsyn commented on IGNITE-24261:
-----------------------------------------
[~isapego] looks good to me.
> 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: platforms, thin client
> Reporter: Andrey Mashenkov
> Assignee: Igor Sapego
> Priority: Major
> Labels: C++, ignite-3
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Let's support Sql grammar syntax in C++ client for table name parsing.
> See `QualifiedName Java` class javadoc for details.
> Let's make Table API in C++ client 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)