Object

com.microsoft.azure.cosmosdb.spark.schema

CosmosDBRowConverter

Related Doc: package schema

Permalink

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
Visibility
  1. Public
  2. All

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. final def asInstanceOf[T0]: T0

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

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

    Permalink

    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
  7. def clone(): AnyRef

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

    Permalink
  9. def enforceCorrectType(value: Any, desiredType: DataType): Any

    Permalink

    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
  10. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

    Permalink
  20. def rowToDocument(row: Row): Document

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

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

    Permalink
  23. def toString(): String

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

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

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

    Permalink
    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