com.microsoft.azure.cosmosdb.spark.schema

CosmosDBRowConverter

object CosmosDBRowConverter extends RowConverter[Document] with JsonSupport with Serializable with LoggingTrait

Linear Supertypes
LoggingTrait, Serializable, Serializable, JsonSupport, RowConverter[Document], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CosmosDBRowConverter
  2. LoggingTrait
  3. Serializable
  4. Serializable
  5. JsonSupport
  6. RowConverter
  7. AnyRef
  8. 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. def log: Logger

    Attributes
    protected
    Definition Classes
    LoggingTrait
  19. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    LoggingTrait
  20. def logDebug(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    LoggingTrait
  21. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    LoggingTrait
  22. def logError(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    LoggingTrait
  23. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    LoggingTrait
  24. def logInfo(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    LoggingTrait
  25. def logName: String

    Attributes
    protected
    Definition Classes
    LoggingTrait
  26. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    LoggingTrait
  27. def logTrace(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    LoggingTrait
  28. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    LoggingTrait
  29. def logWarning(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    LoggingTrait
  30. final def ne(arg0: AnyRef): Boolean

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

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

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

  34. def rowToJSONObject(row: Row): JSONObject

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

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

  37. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LoggingTrait

Inherited from Serializable

Inherited from Serializable

Inherited from JsonSupport

Inherited from RowConverter[Document]

Inherited from AnyRef

Inherited from Any

Ungrouped