com.octo.avro

RegisterLogicalType

object RegisterLogicalType extends RegisterLogicalTypeJdk7

Created by pprados on 26/07/16.

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

Type Members

  1. abstract class StringLogicalTypeFactory extends LogicalTypeFactory

    Attributes
    protected
    Definition Classes
    RegisterLogicalTypeJdk7

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. lazy val BigDecimal: LogicalTypeFactory

    Logical type to convert avro.math.BigDecimal to java.math.BigDecimal.

    Logical type to convert avro.math.BigDecimal to java.math.BigDecimal.

    Definition Classes
    RegisterLogicalTypeJdk7
  7. lazy val BigInteger: LogicalTypeFactory

    Logical type to convert avro.math.BigInteger to java.math.BigInteger.

    Logical type to convert avro.math.BigInteger to java.math.BigInteger.

    Definition Classes
    RegisterLogicalTypeJdk7
  8. lazy val Date: LogicalTypeFactory

    Logical type to convert avro.util.Date to java.util.Date.

    Logical type to convert avro.util.Date to java.util.Date.

    Definition Classes
    RegisterLogicalTypeJdk7
  9. lazy val ExtendableUnion: ExtendableUnionLogicalTypeFactory

    Logical type to convert Any to Avro Record with only one field set.

    Logical type to convert Any to Avro Record with only one field set.

    It's for propose an extended union, an union were it's possible to add a new value without breaking the compatibility.

    {
    "type": "record",
    "name": "com.octo.avro.NewUnion",
    "logicalType" : "scala.Any",
    "registerLogicalType" : "com.octo.avro.RegisterLogicalType.ExtendableUnion",
    "fields": [
      { "name": "_null", "type": ["null"],"default": null },
      { "name": "_D", "type": ["null","D"],"default": null },
      { "name": "_E", "type": ["null","D"],"default": null,"asInstanceOf":"E"}
    ]
    }

    This Avro record is equivalent with the Avro union : ["null",D,E].

    The generated case class use the same interface of the classical union. But, now, it's possible to add a new field in this record, without break the compatibility.

    Definition Classes
    RegisterLogicalTypeJdk7
  10. lazy val InetAddress: LogicalTypeFactory

    Definition Classes
    RegisterLogicalTypeJdk7
  11. lazy val Locale: StringLogicalTypeFactory

    Logical type to convert avro.util.Locale to java.util.Locale.

    Logical type to convert avro.util.Locale to java.util.Locale.

    Definition Classes
    RegisterLogicalTypeJdk7
  12. lazy val URI: StringLogicalTypeFactory

    Logical type to convert avro.net.URI to java.net.URI.

    Logical type to convert avro.net.URI to java.net.URI.

    Definition Classes
    RegisterLogicalTypeJdk7
  13. lazy val URL: StringLogicalTypeFactory

    Logical type to convert avro.net.URL to java.net.URL.

    Logical type to convert avro.net.URL to java.net.URL.

    Definition Classes
    RegisterLogicalTypeJdk7
  14. lazy val UUID: LogicalTypeFactory

    Logical type to convert avro.util.UUID to java.util.UUID.

    Logical type to convert avro.util.UUID to java.util.UUID.

    Definition Classes
    RegisterLogicalTypeJdk7
  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def compareBytes(aValueBytes: Array[Byte], anotherValueBytes: Array[Byte]): Int

    Logical type to convert avro.net.InetAddress to java.net.InetAddress.

    Logical type to convert avro.net.InetAddress to java.net.InetAddress.

    Definition Classes
    RegisterLogicalTypeJdk7
  18. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  24. lazy val javaVersion: Float

    Attributes
    protected
    Definition Classes
    RegisterLogicalTypeJdk7
  25. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  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( ... )

Inherited from RegisterLogicalTypeJdk7

Inherited from AnyRef

Inherited from Any

Ungrouped