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 - Examples
Date Sun, 22 Mar 2015 05:04:06 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-45 4b84c2fe0 -> 000751688


# IGNITE-45 - Examples


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

Branch: refs/heads/ignite-45
Commit: 000751688b42d4008e596db2d2d7932f3a9872a8
Parents: 4b84c2f
Author: Valentin Kulichenko <vkulichenko@gridgain.com>
Authored: Sat Mar 21 22:05:43 2015 -0700
Committer: Valentin Kulichenko <vkulichenko@gridgain.com>
Committed: Sat Mar 21 22:05:43 2015 -0700

----------------------------------------------------------------------
 .../ignite/examples/datagrid/CacheQueryExample.java  | 15 +--------------
 .../scalar/examples/ScalarCacheQueryExample.scala    |  5 +----
 .../examples/ScalarSnowflakeSchemaExample.scala      |  5 +----
 .../java/org/apache/ignite/IgniteJdbcDriver.java     | 10 ----------
 4 files changed, 3 insertions(+), 32 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/00075168/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
index c71a8f0..ff32ed0 100644
--- a/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
@@ -39,16 +39,6 @@ import java.util.*;
  * limitations (not applied if data is queried from one node only):
  * <ul>
  *     <li>
- *         {@code Group by} and {@code sort by} statements are applied separately
- *         on each node, so result set will likely be incorrectly grouped or sorted
- *         after results from multiple remote nodes are grouped together.
- *     </li>
- *     <li>
- *         Aggregation functions like {@code sum}, {@code max}, {@code avg}, etc.
- *         are also applied on each node. Therefore you will get several results
- *         containing aggregated values, one for each node.
- *     </li>
- *     <li>
  *         Joins will work correctly only if joined objects are stored in
  *         collocated mode. Refer to {@link CacheAffinityKey} javadoc for more details.
  *     </li>
@@ -61,10 +51,7 @@ import java.util.*;
  *     </li>
  * </ul>
  * <p>
- * Remote nodes should always be started with special configuration file which
- * enables P2P class loading: {@code 'ignite.{sh|bat} examples/config/example-ignite.xml'}.
- * <p>
- * Alternatively you can run {@link ExampleNodeStartup} in another JVM which will
+ * Remote nodes should be started using {@link ExampleNodeStartup} which will
  * start node with {@code examples/config/example-ignite.xml} configuration.
  */
 public class CacheQueryExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/00075168/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarCacheQueryExample.scala
----------------------------------------------------------------------
diff --git a/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarCacheQueryExample.scala
b/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarCacheQueryExample.scala
index 87baf67..d471b35 100644
--- a/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarCacheQueryExample.scala
+++ b/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarCacheQueryExample.scala
@@ -31,10 +31,7 @@ import scala.collection.JavaConversions._
 /**
  * Demonstrates cache ad-hoc queries with Scalar.
  * <p>
- * Remote nodes should always be started with special configuration file which
- * enables P2P class loading: `'ignite.{sh|bat} examples/config/example-ignite.xml'`.
- * <p>
- * Alternatively you can run `ExampleNodeStartup` in another JVM which will
+ * Remote nodes should be started using `ExampleNodeStartup` which will
  * start node with `examples/config/example-ignite.xml` configuration.
  */
 object ScalarCacheQueryExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/00075168/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarSnowflakeSchemaExample.scala
----------------------------------------------------------------------
diff --git a/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarSnowflakeSchemaExample.scala
b/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarSnowflakeSchemaExample.scala
index b861fc5..a0dbd41 100644
--- a/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarSnowflakeSchemaExample.scala
+++ b/examples/src/main/scala/org/apache/ignite/scalar/examples/ScalarSnowflakeSchemaExample.scala
@@ -45,10 +45,7 @@ import scala.collection.JavaConversions._
  * one <i>fact</i> - `FactPurchase`. Queries are executed by joining dimensions
and facts
  * in various ways.
  * <p>
- * Remote nodes should always be started with special configuration file which
- * enables P2P class loading: `'ignite.{sh|bat} examples/config/example-ignite.xml'`.
- * <p>
- * Alternatively you can run `ExampleNodeStartup` in another JVM which will
+ * Remote nodes should be started using `ExampleNodeStartup` which will
  * start node with `examples/config/example-ignite.xml` configuration.
  */
 object ScalarSnowflakeSchemaExample {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/00075168/modules/core/src/main/java/org/apache/ignite/IgniteJdbcDriver.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/IgniteJdbcDriver.java b/modules/core/src/main/java/org/apache/ignite/IgniteJdbcDriver.java
index 437c478..d061c8f 100644
--- a/modules/core/src/main/java/org/apache/ignite/IgniteJdbcDriver.java
+++ b/modules/core/src/main/java/org/apache/ignite/IgniteJdbcDriver.java
@@ -38,16 +38,6 @@ import java.util.logging.*;
  * or data is fully co-located or fully replicated on multiple nodes):
  * <ul>
  *     <li>
- *         {@code Group by} and {@code sort by} statements are applied separately
- *         on each node, so result set will likely be incorrectly grouped or sorted
- *         after results from multiple remote nodes are grouped together.
- *     </li>
- *     <li>
- *         Aggregation functions like {@code sum}, {@code max}, {@code avg}, etc.
- *         are also applied on each node. Therefore you will get several results
- *         containing aggregated values, one for each node.
- *     </li>
- *     <li>
  *         Joins will work correctly only if joined objects are stored in
  *         collocated mode. Refer to
  *         {@link org.apache.ignite.cache.affinity.CacheAffinityKey}


Mime
View raw message