ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Magda (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-4017) DML: Add Java Example
Date Thu, 17 Nov 2016 16:01:02 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-4017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674065#comment-15674065

Denis Magda commented on IGNITE-4017:

[~al.psc], rather than creating a new example let's update the existing one {{CacheQueryExample}}.

In that example you can replace all cache.put operations with INSERTS.
- after querying data update some data using UPDATE and execute a SELECT making sure that
the data has been updated.
- do the same for DELETE.

Talk to [~isapego] who updated the existing ODBC example in a similar way.

> DML: Add Java Example
> ---------------------
>                 Key: IGNITE-4017
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4017
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: cache
>            Reporter: Denis Magda
>            Assignee: Alexander Paschenko
>            Priority: Critical
>             Fix For: 1.8
> In Apache Ignite 1.8 the community is planning to release DML support.
> To adopt DML usage we need to improve existed or add additional examples.
> We need to add {{CacheDmlExample}} doing the following with DML's *GridGain Java API*:
> - fill up a cache using INSERT commands.
> - execute SELECT statements. There are should be queries with joins.
> - perform cache update using UPDATE and MERGE statements.
> - execute SELECT statements. There are should be queries with joins.
> - remove a part of the data from cache using DELETE command.
> execute SELECTs again.

This message was sent by Atlassian JIRA

View raw message