ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [03/50] ignite git commit: Minors.
Date Mon, 14 Aug 2017 10:30:13 GMT
Minors.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/d2c86a7c
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/d2c86a7c
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/d2c86a7c

Branch: refs/heads/ignite-5991-6019
Commit: d2c86a7c9d0c2db0bc1757a2004a8c614c874862
Parents: 3a4c2d7
Author: devozerov <vozerov@gridgain.com>
Authored: Wed Aug 9 15:46:13 2017 +0300
Committer: devozerov <vozerov@gridgain.com>
Committed: Wed Aug 9 15:46:13 2017 +0300

----------------------------------------------------------------------
 .../java/org/apache/ignite/examples/datagrid/TestExample.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/d2c86a7c/examples/src/main/java/org/apache/ignite/examples/datagrid/TestExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/TestExample.java b/examples/src/main/java/org/apache/ignite/examples/datagrid/TestExample.java
index 3645d43..1ec5589 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datagrid/TestExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/TestExample.java
@@ -25,12 +25,14 @@ public class TestExample {
                  Ignition.start(new IgniteConfiguration().setIgniteInstanceName("client").setClientMode(true)))
{
                 IgniteCache<Long, Person> cliCache = cli.cache(CACHE_NAME);
 
-                SqlFieldsQuery qry = new SqlFieldsQuery("SELECT firstName FROM Person").setStreaming(true);
+                SqlFieldsQuery qry = new SqlFieldsQuery("SELECT firstName FROM Person WHERE
1=1");
 
                 int cnt = 0;
 
                 for (List<?> row : cliCache.query(qry)) {
                     cnt += row.size();
+
+                    System.out.println("ROW: " + cnt);
                 }
 
                 System.out.println("DONE: " + cnt);


Mime
View raw message