com.opendatagroup.hadrian.datatype

AvroMapping

trait AvroMapping extends AvroType

AvroTypes that are represented by a JSON object in JSON (AvroMap, AvroRecord).

Linear Supertypes
AvroType, Type, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AvroMapping
  2. AvroType
  3. Type
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def jsonNode(memo: Set[String]): JsonNode

    Convert the type to a Jackson node.

    Convert the type to a Jackson node.

    memo

    used to avoid infinite loops on recursive record types.

    Definition Classes
    AvroType
  2. abstract def name: String

    The "name" of the type, which is used as a key in tagged unions.

    The "name" of the type, which is used as a key in tagged unions.

    Definition Classes
    AvroType
  3. abstract def schema: Schema

    The the Avro library org.apache.avro.Schema wrapped by this object.

    The the Avro library org.apache.avro.Schema wrapped by this object.

    Definition Classes
    AvroType

Concrete 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. def accepts(that: Type, checkNames: Boolean = true): Boolean

    Perform type resolution: would PFA objects of type that be accepted where a PFA object of type this is expected?

    Perform type resolution: would PFA objects of type that be accepted where a PFA object of type this is expected?

    If x.accepts(y) && y.accepts(x), then x and y are equal. In general, acceptability is not symmetric.

    that

    the given argument to be accepted or rejected

    checkNames

    if true, require named types to have the same name (nominal type checking); if false, consider types with the same structure but different names to be equivalent (structural type checking)

    returns

    true if that is an acceptable substitute for this (or is exactly the same); false if incompatible

    Definition Classes
    AvroTypeType
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def avroType: AvroType

    Return this if an AvroType, raise an IllegalArgumentException otherwise.

    Return this if an AvroType, raise an IllegalArgumentException otherwise.

    Definition Classes
    AvroTypeType
  9. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  11. def equals(that: Any): Boolean

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fullName: String

    The a fully qualified name of this type, including the optional namespace.

    The a fully qualified name of this type, including the optional namespace.

    Definition Classes
    AvroType
  14. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toJson(): String

    Convert the type to a JSON string (suitable for an Avro ".

    Convert the type to a JSON string (suitable for an Avro ".avsc" file).

    Definition Classes
    AvroType
  22. def toString(): String

    Calls toJson().

    Calls toJson().

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AvroType

Inherited from Type

Inherited from AnyRef

Inherited from Any

Ungrouped