com.gensler.scalavro.types.complex.AvroRecord

Field

case class Field[U](name: String, default: Option[U] = scala.None, order: Option[Order] = scala.None, aliases: Seq[String] = ..., doc: Option[String] = scala.None)(implicit evidence$3: scala.reflect.api.JavaUniverse.TypeTag[U]) extends JsonSchemifiable with CanonicalForm with SelfDescribingSchemaHelpers with Product with Serializable

Records fields have:

name: a JSON string providing the name of the field (required)

doc: a JSON string describing this field for users (optional).

type: A JSON object defining a schema, or a JSON string naming a record definition (required).

default: A default value for this field, used when reading instances that lack this field (optional). Permitted values depend on the field's schema type. Default values for union fields correspond to the first schema in the union. Default values for bytes and fixed fields are JSON strings, where Unicode code points 0-255 are mapped to unsigned 8-bit byte values 0-255.

order

aliases

Linear Supertypes
Serializable, Serializable, Product, Equals, SelfDescribingSchemaHelpers, CanonicalForm, JsonSchemifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Field
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SelfDescribingSchemaHelpers
  7. CanonicalForm
  8. JsonSchemifiable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Field(name: String, default: Option[U] = scala.None, order: Option[Order] = scala.None, aliases: Seq[String] = ..., doc: Option[String] = scala.None)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[U])

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val default: Option[U]

  10. val doc: Option[String]

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

    Definition Classes
    AnyRef
  12. lazy val fieldType: AvroType[U]

  13. def finalize(): Unit

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

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

    Definition Classes
    Any
  16. val name: String

  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. def optionalParams: ListMap[String, JsValue]

  21. val order: Option[Order]

  22. final def parsingCanonicalForm(): JsValue

    Definition Classes
    FieldCanonicalForm
  23. def schema(): JsValue

    Definition Classes
    FieldJsonSchemifiable
  24. def schemaToParsingCanonicalForm(schema: JsValue): JsValue

    Attributes
    protected[com.gensler.scalavro]
    Definition Classes
    SelfDescribingSchemaHelpers
  25. def selfContainedSchema(resolvedSymbols: Set[String] = mutable.Set[String]()): JsValue

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

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CanonicalForm

Inherited from JsonSchemifiable

Inherited from AnyRef

Inherited from Any

Ungrouped