Package

com.mongodb

spark

Permalink

package spark

The MongoDB Spark Connector

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. spark
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. trait MongoClientFactory extends Serializable

    Permalink

    A factory for creating MongoClients

    A factory for creating MongoClients

    *Note:* Care should be taken to implement an equals method to ensure that the MongoClientCache can cache and reuse the resulting MongoClient.

    Since

    1.0

  2. case class MongoConnector(mongoClientFactory: MongoClientFactory) extends Serializable with Closeable with Logging with Product with Serializable

    Permalink

    The MongoConnector

    The MongoConnector

    Connects Spark to MongoDB

    mongoClientFactory

    the factory that can be used to create a MongoClient

    Since

    1.0

  3. trait NotNothing[T] extends AnyRef

    Permalink
    Annotations
    @implicitNotFound( ... )
  4. case class SparkContextFunctions(sc: SparkContext) extends Serializable with Product

    Permalink

    Helpers to create com.mongodb.spark.rdd.MongoRDD in the current SparkContext.

    Helpers to create com.mongodb.spark.rdd.MongoRDD in the current SparkContext.

    sc

    the Spark context

    Since

    1.0

Value Members

  1. object DefaultHelper

    Permalink

    A helper containing the sealed DefaultsTo trait which is used to determine the default type for a given method.

    A helper containing the sealed DefaultsTo trait which is used to determine the default type for a given method.

    Since

    1.0

  2. object MongoConnector extends Serializable

    Permalink

    The MongoConnector companion object

    The MongoConnector companion object

    Since

    1.0

  3. object NotNothing

    Permalink

    NotNothing bottom type constraint for methods allowing a generic type that is not Nothing.

  4. package api

    Permalink
  5. implicit def classTagToClassOf[C](ct: ClassTag[C]): Class[C]

    Permalink

    Helper to get the class from a classTag

    Helper to get the class from a classTag

    C

    the class type

    ct

    the classTag we want to implicitly get the class of

    returns

    the classOf[C]

  6. package config

    Permalink
  7. package exceptions

    Permalink
  8. package rdd

    Permalink
  9. package sql

    Permalink

    The Mongo Spark Connector Sql package

  10. implicit def toDocumentRDDFunctions[D](rdd: RDD[D])(implicit e: DefaultsTo[D, Document], ct: ClassTag[D]): DocumentRDDFunctions[D]

    Permalink

    Helper to implicitly add MongoDB based functions to a SparkContext

    Helper to implicitly add MongoDB based functions to a SparkContext

    rdd

    the RDD to save to MongoDB

    returns

    the MongoDB based Spark Context

  11. implicit def toSparkContextFunctions(sc: SparkContext): SparkContextFunctions

    Permalink

    Helper to implicitly add MongoDB based functions to a SparkContext

    Helper to implicitly add MongoDB based functions to a SparkContext

    sc

    the current SparkContext

    returns

    the MongoDB based Spark Context

Inherited from AnyRef

Inherited from Any

Ungrouped