ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkuliche...@apache.org
Subject [13/16] ignite git commit: IGNITE-3215 - Added IgniteRDD.withKeepBinary method (ScalaDoc)
Date Wed, 15 Jun 2016 12:06:00 GMT
IGNITE-3215 - Added IgniteRDD.withKeepBinary method (ScalaDoc)


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

Branch: refs/heads/master
Commit: 10916ed03688f820cef93866c8ea71226bba3716
Parents: 6faa1f2
Author: Valentin Kulichenko <valentin.lulichenko@gmail.com>
Authored: Wed Jun 15 12:19:44 2016 +0300
Committer: Valentin Kulichenko <valentin.lulichenko@gmail.com>
Committed: Wed Jun 15 12:21:22 2016 +0300

----------------------------------------------------------------------
 .../src/main/scala/org/apache/ignite/spark/IgniteRDD.scala    | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/10916ed0/modules/spark/src/main/scala/org/apache/ignite/spark/IgniteRDD.scala
----------------------------------------------------------------------
diff --git a/modules/spark/src/main/scala/org/apache/ignite/spark/IgniteRDD.scala b/modules/spark/src/main/scala/org/apache/ignite/spark/IgniteRDD.scala
index cad96b9..fb15ff1 100644
--- a/modules/spark/src/main/scala/org/apache/ignite/spark/IgniteRDD.scala
+++ b/modules/spark/src/main/scala/org/apache/ignite/spark/IgniteRDD.scala
@@ -32,6 +32,7 @@ import org.apache.spark.sql._
 import org.apache.spark._
 
 import scala.collection.JavaConversions._
+import scala.reflect.macros.whitebox
 
 /**
  * Ignite RDD. Represents Ignite cache as Spark RDD abstraction.
@@ -293,6 +294,12 @@ class IgniteRDD[K, V] (
         ensureCache().removeAll()
     }
 
+    /**
+     * Returns `IgniteRDD` that will operate with binary objects. This method
+     * behaves similar to [[org.apache.ignite.IgniteCache#withKeepBinary]].
+     *
+     * @return New `IgniteRDD` instance for binary objects.
+     */
     def withKeepBinary[K1, V1](): IgniteRDD[K1, V1] = {
         new IgniteRDD[K1, V1](
             ic.asInstanceOf[IgniteContext[K1, V1]],


Mime
View raw message