com.gensler.scalavro.types

AvroComplexType

abstract class AvroComplexType[T] extends AvroType[T] with SelfDescribingSchemaHelpers

Parent class of all composite and parameterized Avro types.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AvroComplexType
  2. SelfDescribingSchemaHelpers
  3. AvroType
  4. CanonicalForm
  5. JsonSchemifiable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AvroComplexType()(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T])

Type Members

  1. type scalaType = T

    The corresponding Scala type for this Avro type.

    The corresponding Scala type for this Avro type.

    Definition Classes
    AvroType

Abstract Value Members

  1. abstract def selfContainedSchema(resolvedSymbols: Set[String] = mutable.Set[String]()): JsValue

    Returns the fully self-describing JSON representation of this Avro type schema.

    Returns the fully self-describing JSON representation of this Avro type schema.

    Definition Classes
    AvroType
  2. abstract def typeName(): String

    Returns the Avro type name for this schema.

    Returns the Avro type name for this schema.

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

    Definition Classes
    Any
  7. def canonicalFormOrFullyQualifiedName(): JsValue

    Returns the fully qualified schema name if this is an instance of AvroNamedType, or the parsing canonical form of this type schema otherwise.

    Internal API

    Returns the fully qualified schema name if this is an instance of AvroNamedType, or the parsing canonical form of this type schema otherwise.

    Attributes
    protected[com.gensler.scalavro]
    Definition Classes
    AvroType
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. lazy val dependentNamedTypes: Seq[AvroNamedType[_]]

    Returns the sequence of named types that are required to fully specify this AvroType, including recursive/transitive type dependencies.

    Returns the sequence of named types that are required to fully specify this AvroType, including recursive/transitive type dependencies.

    Definition Classes
    AvroType
  10. final def dependsOn(thatType: AvroType[_]): Boolean

    Returns true if this type depends upon the supplied type.

    Returns true if this type depends upon the supplied type.

    Definition Classes
    AvroComplexTypeAvroType
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final lazy val fingerprint: Array[Byte]

    Returns the result of computing MD5 over this type's parsing canonical form.

    Returns the result of computing MD5 over this type's parsing canonical form.

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

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

    Definition Classes
    AnyRef → Any
  17. lazy val io: AvroTypeIO[T]

    Returns an AvroTypeIO instance for this AvroType.

    Returns an AvroTypeIO instance for this AvroType.

    Definition Classes
    AvroType
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final val isPrimitive: Boolean(false)

    Returns true if this represents a primitive Avro type.

    Returns true if this represents a primitive Avro type.

    Definition Classes
    AvroComplexTypeAvroType
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  23. def parsingCanonicalForm(): JsValue

    Returns the JSON schema for this type in "parsing canonical form".

    Returns the JSON schema for this type in "parsing canonical form".

    _X_ [PRIMITIVES] Convert primitive schemas to their simple form (e.g., int instead of {"type":"int"}).

    _X_ [FULLNAMES] Replace short names with fullnames, using applicable namespaces to do so. Then eliminate namespace attributes, which are now redundant.

    _X_ [STRIP] Keep only attributes that are relevant to parsing data, which are: type, name, fields, symbols, items, values, size. Strip all others (e.g., doc and aliases).

    _X_ [ORDER] Order the appearance of fields of JSON objects as follows: name, type, fields, symbols, items, values, size. For example, if an object has type, name, and size fields, then the name field should appear first, followed by the type and then the size fields.

    _X_ [INTEGERS] Eliminate quotes around and any leading zeros in front of JSON integer literals (which appear in the size attributes of fixed schemas).

    _X_ [WHITESPACE] Eliminate all whitespace in JSON outside of string literals.

    Definition Classes
    AvroTypeCanonicalForm
  24. def schema(): JsValue

    Returns the JSON representation of this Avro type schema.

    Returns the JSON representation of this Avro type schema.

    Definition Classes
    AvroComplexTypeAvroTypeJsonSchemifiable
  25. def schemaOrName(): JsValue

    Returns the schema name if this is an instance of AvroNamedType, or the expanded schema otherwise.

    Returns the schema name if this is an instance of AvroNamedType, or the expanded schema otherwise.

    Definition Classes
    AvroType
  26. def selfContainedSchemaOrFullyQualifiedName(avroType: AvroType[_], resolvedSymbols: Set[String]): JsValue

    Attributes
    protected
    Definition Classes
    SelfDescribingSchemaHelpers
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. final val tag: scala.reflect.api.JavaUniverse.TypeTag[T]

    Definition Classes
    AvroType
  29. def toString(): String

    Definition Classes
    AvroComplexTypeAvroType → 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 withoutDocOrAliases(json: JsValue): JsValue

    Attributes
    protected
  34. def writeCanonicalForm(os: OutputStream): Unit

    _X_ [STRINGS] For all JSON string literals in the schema text, replace any escaped characters (e.

    _X_ [STRINGS] For all JSON string literals in the schema text, replace any escaped characters (e.g., \\uXXXX escapes) with their UTF-8 equivalents.

    Definition Classes
    AvroType

Inherited from AvroType[T]

Inherited from CanonicalForm

Inherited from JsonSchemifiable

Inherited from AnyRef

Inherited from Any

Ungrouped