Object

com.coxautodata.waimak.azure.table

PropertyEncoder

Related Doc: package table

Permalink

object PropertyEncoder

Creates a converter from spark Row into Azure EntityProperty.

Created by alexeipab on 18/12/17.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PropertyEncoder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type encoderType = (Row) ⇒ EntityProperty

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

    Permalink
    Definition Classes
    Any
  5. def boolean(row: Row, pos: Int): EntityProperty

    Permalink
  6. def byte(row: Row, pos: Int): EntityProperty

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def date(row: Row, pos: Int): EntityProperty

    Permalink
  9. def decimal(row: Row, pos: Int): EntityProperty

    Permalink
  10. def double(row: Row, pos: Int): EntityProperty

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def float(row: Row, pos: Int): EntityProperty

    Permalink
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def getTypeOrElseNull[T](row: Row, pos: Int, getter: (Row, Int) ⇒ T = (r: Row, p: Int) => r.getAs[T](p)): T

    Permalink
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def int(row: Row, pos: Int): EntityProperty

    Permalink
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def long(row: Row, pos: Int): EntityProperty

    Permalink
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def short(row: Row, pos: Int): EntityProperty

    Permalink
  25. def string(row: Row, pos: Int): EntityProperty

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

    Permalink
    Definition Classes
    AnyRef
  27. def timestamp(row: Row, pos: Int): EntityProperty

    Permalink
  28. def toEncoder(schema: StructType, ignoreFields: Set[String]): Map[String, encoderType]

    Permalink

    Encoder converts Dataset StructTypes into Azure Table entities (objects from the azure table APIs).

    Encoder converts Dataset StructTypes into Azure Table entities (objects from the azure table APIs). These objects can then be pushed into an Azure Table. It also does the necessary data type conversions. E.g., decimal(38, 2) does not exist as a type in Azure Tables therefore it is converted into a Double.

    schema

    Source schema to convert

    ignoreFields

    Fields to ignore from the source schema

    returns

    A map of column name to function that transforms a row into the Azure Table datatype

  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 AnyRef

Inherited from Any

Ungrouped