com.microsoft.azure.cosmosdb.spark.schema

CosmosDBRowConverter

object CosmosDBRowConverter extends RowConverter[Document] with JsonSupport with Serializable

Linear Supertypes
Serializable, Serializable, JsonSupport, RowConverter[Document], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CosmosDBRowConverter
  2. Serializable
  3. Serializable
  4. JsonSupport
  5. RowConverter
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def asRow(schema: StructType, array: Array[Document]): Array[Row]

  8. def asRow(schema: StructType, rdd: RDD[Document]): RDD[Row]

    Given a known schema, it maps an RDD of some specified type to an

    Given a known schema, it maps an RDD of some specified type to an

    RDD[Row
    schema

    RDD native schema

    rdd

    Current native RDD

    returns

    A brand new RDD of Spark SQL Row type.

    Definition Classes
    CosmosDBRowConverterRowConverter
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def documentToMap(document: Document): Map[String, AnyRef]

  11. def enforceCorrectType(value: Any, desiredType: DataType): Any

    Tries to convert some scala value to another compatible given type

    Tries to convert some scala value to another compatible given type

    value

    Value to be converted

    desiredType

    Destiny type

    returns

    Converted value

    Attributes
    protected
    Definition Classes
    JsonSupport
  12. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def recordAsRow(json: Map[String, AnyRef], schema: StructType): Row

  22. def rowToDocument(row: Row): Document

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toSQL(value: Any, dataType: DataType): Any

  25. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from JsonSupport

Inherited from RowConverter[Document]

Inherited from AnyRef

Inherited from Any

Ungrouped