com.gensler.scalavro.types.complex

AvroRecord

class AvroRecord[T] extends AvroNamedType[T]

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

Instance Constructors

  1. new AvroRecord(name: String, fields: Seq[Field[_]], aliases: Seq[String] = ..., namespace: Option[String] = scala.None, doc: Option[String] = scala.None)(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

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. val aliases: Seq[String]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. 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
    AvroNamedTypeAvroType
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. 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
  11. 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
  12. val doc: Option[String]

  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  15. val fields: Seq[Field[_]]

  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. 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
  18. final def fullyQualifiedName(): String

    Definition Classes
    AvroNamedType
  19. def fullyQualify(json: JsValue): JsValue

    Definition Classes
    AvroNamedType
  20. final def getClass(): Class[_]

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

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

    Returns an AvroTypeIO instance for this AvroType.

    Returns an AvroTypeIO instance for this AvroType.

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

    Definition Classes
    Any
  24. 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
  25. val name: String

    Definition Classes
    AvroRecordAvroNamedType
  26. val namespace: Option[String]

    Definition Classes
    AvroRecordAvroNamedType
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  30. 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
    AvroRecordAvroTypeCanonicalForm
  31. def referencedSchema(resolvedSymbols: Set[String] = mutable.Set[String]()): JsValue

  32. def schema(): JsValue

    Returns the JSON representation of this Avro type schema.

    Returns the JSON representation of this Avro type schema.

    Definition Classes
    AvroComplexTypeAvroTypeJsonSchemifiable
  33. 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
  34. 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
    AvroRecordAvroType
  35. def selfContainedSchemaOrFullyQualifiedName(avroType: AvroType[_], resolvedSymbols: Set[String]): JsValue

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

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

    Definition Classes
    AvroType
  38. def toString(): String

    Definition Classes
    AvroRecordAvroComplexTypeAvroType → AnyRef → Any
  39. val typeName: String

    Returns the Avro type name for this schema.

    Returns the Avro type name for this schema.

    Definition Classes
    AvroRecordAvroType
  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def withoutDocOrAliases(json: JsValue): JsValue

    Attributes
    protected
    Definition Classes
    AvroComplexType
  44. 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 AvroNamedType[T]

Inherited from AvroComplexType[T]

Inherited from AvroType[T]

Inherited from CanonicalForm

Inherited from JsonSchemifiable

Inherited from AnyRef

Inherited from Any

Ungrouped