org.coursera.courier.templates

DataTemplates

object DataTemplates

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DataTemplates
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type DataConversion = DataTemplates.DataConversion.Value

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. object DataConversion extends Enumeration

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  13. def getDeclaringTyperefSchema(clazz: Class[_]): Option[TyperefDataSchema]

    For types declared within typeref, gets the schema of the typeref.

    For types declared within typeref, gets the schema of the typeref.

    For example, the typeref declaration:

    typeref MyUnion = union[Alpha, Beta]

    declares a union that will be generated as the class MyUnion. This generated union class will contain both a SCHEMA field to access the union schema (union[Alpha, Beta]) and a TYPEREF_SCHEMA field to access the declaring typeref schema (typeref MyUnion = union[Alpha, Beta]).

    clazz

    provides a Scala generated data binding class.

    returns

    a typeref data schema.

  14. def getSchema(clazz: Class[_]): DataSchema

    Gets the schema of the Scala generated data binding class.

    Gets the schema of the Scala generated data binding class.

    clazz

    provides a Scala generated data binding class.

    returns

    a data schema.

  15. def getSchema[T <: DataTemplate[_]](implicit tag: ClassTag[T]): DataSchema

    Gets the schema of the Scala generated data binding class.

    Gets the schema of the Scala generated data binding class.

    returns

    a data schema.

  16. def hashCode(): Int

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

    Definition Classes
    Any
  18. def makeImmutable[T <: DataComplex](data: T, conversion: DataConversion): T

  19. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  22. def readArray[T <: DataTemplate[DataList]](json: String)(implicit tag: ClassTag[T]): T

    Dynamically instantiates an array template type from json.

  23. def readDataList(json: String): DataList

  24. def readDataMap(json: String): DataMap

  25. def readMap[T <: DataTemplate[DataMap]](json: String)(implicit tag: ClassTag[T]): T

    Dynamically instantiates a map template type from json.

  26. def readRecord[T <: RecordTemplate](json: String)(implicit tag: ClassTag[T]): T

    Dynamically instantiates a record template type from json.

  27. def readUnion[T <: UnionTemplate](json: String)(implicit tag: ClassTag[T]): T

    Dynamically instantiates a union template type from json.

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

    Definition Classes
    AnyRef
  29. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def writeArray[T <: DataTemplate[DataList]](template: T)(implicit tag: ClassTag[T]): String

    Writes an array template to json.

  34. def writeDataList(dataList: DataList): String

  35. def writeDataMap(dataMap: DataMap): String

  36. def writeMap[T <: DataTemplate[DataMap]](template: T)(implicit tag: ClassTag[T]): String

    Writes a map template to json.

  37. def writeRecord[T <: RecordTemplate](template: T)(implicit tag: ClassTag[T]): String

    Writes a record template to json.

  38. def writeUnion[T <: UnionTemplate](template: T)(implicit tag: ClassTag[T]): String

    Writes a union template to json.

Inherited from AnyRef

Inherited from Any

Ungrouped