Object

com.microsoft.azure.cosmosdb.spark.schema

CosmosDBRowConverter

Related Doc: package schema

Permalink

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
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
    CosmosDBRowConverter → RowConverter
  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. def log: Logger

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingTrait
  23. def logName: String

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

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

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

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

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

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

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

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

    Permalink
  32. def rowToJSONObject(row: Row): JSONObject

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

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

    Permalink
  35. def toString(): String

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

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

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

    Permalink
    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