You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2015/05/30 01:30:23 UTC
[3/4] incubator-ignite git commit: #IGNITE-389 - More functions on
API.
#IGNITE-389 - More functions on API.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/8503dec1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/8503dec1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/8503dec1
Branch: refs/heads/ignite-389
Commit: 8503dec1135755d4068f7538a044df7edbacdacc
Parents: 41afb37
Author: Alexey Goncharuk <ag...@gridgain.com>
Authored: Fri May 29 10:58:12 2015 -0700
Committer: Alexey Goncharuk <ag...@gridgain.com>
Committed: Fri May 29 10:58:12 2015 -0700
----------------------------------------------------------------------
.../org/apache/ignite/spark/examples/IgniteProcessExample.scala | 3 ---
1 file changed, 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/8503dec1/modules/spark/src/main/scala/org/apache/ignite/spark/examples/IgniteProcessExample.scala
----------------------------------------------------------------------
diff --git a/modules/spark/src/main/scala/org/apache/ignite/spark/examples/IgniteProcessExample.scala b/modules/spark/src/main/scala/org/apache/ignite/spark/examples/IgniteProcessExample.scala
index e1d3326..db8b5a3 100644
--- a/modules/spark/src/main/scala/org/apache/ignite/spark/examples/IgniteProcessExample.scala
+++ b/modules/spark/src/main/scala/org/apache/ignite/spark/examples/IgniteProcessExample.scala
@@ -17,7 +17,6 @@
package org.apache.ignite.spark.examples
-import org.apache.ignite.configuration.CacheConfiguration
import org.apache.ignite.spark.IgniteContext
import org.apache.spark.rdd.RDD
import org.apache.spark.{SparkContext, SparkConf}
@@ -47,8 +46,6 @@ object IgniteProcessExample {
// SQL query
ignite.fromCache("indexed").objectSql("Person", "age > ? and organizationId = ?", 20, 12).collect()
- ignite.fromCache(new CacheConfiguration[Object, String]("ad"))
-
// SQL fields query
val sqlRes: RDD[Seq[Any]] = ignite.fromCache("indexed").sql("select name, age from Person where age > ?", 20)
}