Class

com.stratio.crossdata.connector.mongodb

DefaultSource

Related Doc: package mongodb

Permalink

class DefaultSource extends datasource.mongodb.DefaultSource with TableInventory with DataSourceRegister with TableManipulation

Allows creation of MongoDB based tables using the syntax CREATE TEMPORARY TABLE ... USING com.stratio.deep.mongodb. Required options are detailed in com.stratio.datasource.mongodb.config.MongodbConfig

Linear Supertypes
TableManipulation, DataSourceRegister, TableInventory, GenerateConnectorOptions, datasource.mongodb.DefaultSource, CreatableRelationProvider, SchemaRelationProvider, RelationProvider, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultSource
  2. TableManipulation
  3. DataSourceRegister
  4. TableInventory
  5. GenerateConnectorOptions
  6. DefaultSource
  7. CreatableRelationProvider
  8. SchemaRelationProvider
  9. RelationProvider
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DefaultSource()

    Permalink

Type Members

  1. case class MongodbConnectorConfigBuilder(props: Map[Property, Any] = Map()) extends ConfigBuilder[MongodbConnectorConfigBuilder] with Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val MongoCollectionPropertyCapped: String

    Permalink

    if the collection is capped

  5. val MongoCollectionPropertyMax: String

    Permalink

    max number of documents

  6. val MongoCollectionPropertySize: String

    Permalink

    collection size

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def createExternalTable(context: SQLContext, tableName: String, databaseName: Option[String], schema: StructType, options: Map[String, String]): Option[Table]

    Permalink
    Definition Classes
    DefaultSource → TableManipulation
  10. def createRelation(sqlContext: SQLContext, mode: SaveMode, parameters: Map[String, String], data: DataFrame): BaseRelation

    Permalink
    Definition Classes
    DefaultSource → DefaultSource → CreatableRelationProvider
  11. def createRelation(sqlContext: SQLContext, parameters: Map[String, String], schema: StructType): BaseRelation

    Permalink
    Definition Classes
    DefaultSource → DefaultSource → SchemaRelationProvider
  12. def createRelation(sqlContext: SQLContext, parameters: Map[String, String]): BaseRelation

    Permalink
    Definition Classes
    DefaultSource → DefaultSource → RelationProvider
  13. def dropExternalTable(context: SQLContext, options: Map[String, String]): Try[Unit]

    Permalink
    Definition Classes
    DefaultSource → TableManipulation
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def exclusionFilter(t: Table): Boolean

    Permalink
    Definition Classes
    DefaultSource → TableInventory
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def generateConnectorOpts(item: Table, userOpts: Map[String, String]): Map[String, String]

    Permalink

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    DefaultSource → GenerateConnectorOptions
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def listTables(context: SQLContext, options: Map[String, String]): Seq[Table]

    Permalink

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    DefaultSource → TableInventory
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def parseParametersWithoutValidation(parameters: Map[String, String]): Config

    Permalink
  27. def shortName(): String

    Permalink
    Definition Classes
    DefaultSource → DataSourceRegister
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TableManipulation

Inherited from DataSourceRegister

Inherited from TableInventory

Inherited from GenerateConnectorOptions

Inherited from datasource.mongodb.DefaultSource

Inherited from CreatableRelationProvider

Inherited from SchemaRelationProvider

Inherited from RelationProvider

Inherited from AnyRef

Inherited from Any

Ungrouped