com.octo.avro

LogicalTypeFactory

object LogicalTypeFactory

A registry with all logical types. Use a couple of Class[] to associate an AVRO type with the logical type.

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

Type Members

  1. class ExtendableUnionLogicalTypeFactory extends LogicalTypeFactory

  2. type Key = (Class[_], Class[_])

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 clone(): AnyRef

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def get(kT: Class[_], kLT: Class[_]): LogicalTypeFactory

    Return the logical type conversion associated with two types.

    Return the logical type conversion associated with two types.

    kT

    The Avro type.

    kLT

    The logical type.

    returns

    The logical type conversion.

    Annotations
    @inline()
  12. def get[T, LT]()(implicit arg0: ClassTag[T], arg1: ClassTag[LT]): LogicalTypeFactory

    Annotations
    @inline()
  13. def get(field: Field): LogicalTypeFactory

    Return the logical type conversion associated with a field.

    Return the logical type conversion associated with a field.

    field

    The avro field.

    returns

    The logical type conversion.

    Annotations
    @inline()
  14. def get(schema: Schema): LogicalTypeFactory

    Return the logical type conversion associated with the schema.

    Return the logical type conversion associated with the schema.

    schema

    The schema of the record.

    returns

    The logical type conversion.

    Annotations
    @inline()
  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. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  21. def register[T, LT](lt: LogicalTypeFactory = caseClassLogicalType)(implicit arg0: ClassTag[T], arg1: ClassTag[LT]): Unit

    Register a logical type for an field type.

    Register a logical type for an field type.

    T

    The AVRO type.

    LT

    The java/scala type.

    lt

    The logical type conversion.

  22. def register(schema: Schema, lt: LogicalTypeFactory): Unit

    Register a logical type for an AVRO record.

    Register a logical type for an AVRO record.

    schema

    The schema describe the AVRO record.

    lt

    The logical type conversion.

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

    Definition Classes
    AnyRef
  24. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped