Package

com.mongodb.spark

sql

Permalink

package sql

The Mongo Spark Connector Sql package

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. sql
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class DefaultSource extends DataSourceRegister with RelationProvider with SchemaRelationProvider with CreatableRelationProvider

    Permalink

    A MongoDB based DataSource

  2. case class SparkSessionFunctions(sparkSession: SparkSession) extends Serializable with Product

    Permalink

    :: DeveloperApi ::

    :: DeveloperApi ::

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

    sparkSession

    the SparkSession

    Annotations
    @DeveloperApi()
    Since

    2.0

Value Members

  1. object MongoInferSchema extends Logging

    Permalink
  2. package fieldTypes

    Permalink

    Case classes representing native Bson types

    Case classes representing native Bson types

    Since

    1.0

  3. package helpers

    Permalink

    Helpers for defining and querying unsupported bson types

    Helpers for defining and querying unsupported bson types

    Since

    1.1.0

  4. implicit def toMongoDataFrame[T](ds: Dataset[T]): MongoDataFrameFunctions[Row]

    Permalink

    :: DeveloperApi ::

    :: DeveloperApi ::

    Helper to implicitly add MongoDB based functions to a Dataset

    ds

    the Dataset

    returns

    the MongoDB based DataFrame

    Annotations
    @DeveloperApi()
    Since

    1.1.0

  5. implicit def toMongoDataFrameReaderFunctions(dfr: DataFrameReader): MongoDataFrameReaderFunctions

    Permalink

    :: DeveloperApi ::

    :: DeveloperApi ::

    Helper to implicitly add MongoDB based functions to a DataFrameReader

    dfr

    the DataFrameReader

    returns

    the MongoDB based DataFrameReader

    Annotations
    @DeveloperApi()
  6. implicit def toMongoDataFrameWriterFunctions(dfw: DataFrameWriter[_]): MongoDataFrameWriterFunctions

    Permalink

    :: DeveloperApi ::

    :: DeveloperApi ::

    Helper to implicitly add MongoDB based functions to a DataFrameWriter

    dfw

    the DataFrameWriter

    returns

    the MongoDB based DataFrameWriter

    Annotations
    @DeveloperApi()
  7. implicit def toSparkSessionFunctions(sparkSession: SparkSession): SparkSessionFunctions

    Permalink

    :: DeveloperApi ::

    :: DeveloperApi ::

    Helper to implicitly add MongoDB based functions to a SQLContext

    sparkSession

    the current SparkSession

    returns

    the MongoDB based SQLContext

    Annotations
    @DeveloperApi()

Deprecated Value Members

  1. implicit def toSparkSessionFunctions(sqlContext: SQLContext): SparkSessionFunctions

    Permalink

    :: DeveloperApi ::

    :: DeveloperApi ::

    Helper to implicitly add MongoDB based functions to a SQLContext

    sqlContext

    the current SQLContext

    returns

    the MongoDB based SQLContext

    Annotations
    @DeveloperApi() @deprecated
    Deprecated

    (Since version 2.0.0) As of Spark 2.0 SQLContext was replaced by SparkSession. Use the SparkSession method instead

Inherited from AnyRef

Inherited from Any

Ungrouped