UnionBranch

dev.constructive.eo.avro.PathStep.UnionBranch
final case class UnionBranch(branchName: String)

Resolve a union to a specific branch by its type name. The branch name is the schema's fully-qualified type name (e.g. "long" for the primitive long branch, "my.ns.Record" for a record branch). Branches with the same type name across alternatives don't exist in valid Avro schemas, so the name uniquely identifies the alternative.

Attributes

Source
PathStep.scala

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala