com.stratio.datasource.mongodb

schema

package schema

Visibility
  1. Public
  2. All

Type Members

  1. trait JsonSupport extends AnyRef

    Json - Scala object transformation support.

    Json - Scala object transformation support. Used to convert from DBObjects to Spark SQL Row field types. Disclaimer: As explained in NOTICE.md, some of this product includes software developed by The Apache Software Foundation (http://www.apache.org/).

  2. case class MongodbSchema[T <: RDD[mongodb.casbah.Imports.DBObject]](rdd: T, samplingRatio: Double) extends SchemaProvider with Serializable with Product

    A custom RDD schema for MongoDB.

    A custom RDD schema for MongoDB.

    rdd

    RDD used to infer the schema

    samplingRatio

    Sampling ratio used to scan the RDD and extract used fields.

Value Members

  1. object MongodbRowConverter extends RowConverter[mongodb.casbah.Imports.DBObject] with JsonSupport with Serializable

    MongodbRowConverter support RDD transformations from DBObject to Row and vice versa

Ungrouped