Packages

c

com.mapr.db.spark

SparkContextFunctions

case class SparkContextFunctions(sc: SparkContext, bufferWrites: Boolean = true, hintUsingIndex: Option[String] = None, queryOptions: Map[String, String] = Map[String, String]()) extends Serializable with Product

Linear Supertypes
Product, Equals, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparkContextFunctions
  2. Product
  3. Equals
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SparkContextFunctions(sc: SparkContext, bufferWrites: Boolean = true, hintUsingIndex: Option[String] = None, queryOptions: Map[String, String] = Map[String, String]())

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val bufferWrites: Boolean
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. val hintUsingIndex: Option[String]
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def loadFromMapRDB[T](tableName: String)(implicit arg0: ClassTag[T], e: DefaultType[T, OJAIDocument], f: RDDTYPE[T]): MapRDBTableScanRDD[T]

    Spark MapRDB connector specific functions to load json tables as RDD[OJAIDocument]

    Spark MapRDB connector specific functions to load json tables as RDD[OJAIDocument]

    tableName

    name of the table in MapRDB

    Example:
    1. val docs = sc.loadMapRDBTable("tablePath")

  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. val queryOptions: Map[String, String]
  16. val sc: SparkContext
  17. def setBufferWrites(bufferWrites: Boolean): SparkContextFunctions
  18. def setHintUsingIndex(indexPath: String): SparkContextFunctions
  19. def setQueryOption(queryOptionKey: String, queryOptionValue: String): SparkContextFunctions
  20. def setQueryOptions(queryOptions: Map[String, String]): SparkContextFunctions
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped