ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkuliche...@apache.org
Subject incubator-ignite git commit: IGNITE-45 - Minor
Date Sat, 21 Mar 2015 03:30:20 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-45 d8e8131a2 -> 95537b58c


IGNITE-45 - Minor


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

Branch: refs/heads/ignite-45
Commit: 95537b58c9b9116d37db85c00f157e4ee5049561
Parents: d8e8131
Author: Valentin Kulichenko <vkulichenko@gridgain.com>
Authored: Fri Mar 20 20:31:48 2015 -0700
Committer: Valentin Kulichenko <vkulichenko@gridgain.com>
Committed: Fri Mar 20 20:31:48 2015 -0700

----------------------------------------------------------------------
 .../ignite/scalar/examples/ScalarCachePopularNumbersExample.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/95537b58/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarCachePopularNumbersExample.scala
----------------------------------------------------------------------
diff --git a/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarCachePopularNumbersExample.scala
b/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarCachePopularNumbersExample.scala
index 66ecdfd..a0b2fd0 100644
--- a/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarCachePopularNumbersExample.scala
+++ b/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarCachePopularNumbersExample.scala
@@ -121,7 +121,7 @@ object ScalarCachePopularNumbersExample extends App {
      */
     def query(cnt: Int) {
         val results = cache$[JavaInt, JavaLong](NAME).get
-            .queryFields(new SqlFieldsQuery("select _key, _val from Long order by _val desc,
_key limit " + cnt))
+            .query(new SqlFieldsQuery("select _key, _val from Long order by _val desc, _key
limit " + cnt))
             .getAll
 
         results.foreach(res => println(res.get(0) + "=" + res.get(1)))


Mime
View raw message