UNION

wvlet.airframe.codec.DataType$.UNION
case class UNION(types: Seq[RecordType]) extends StructuredType

Union type represents a type whose data can be one of the specified types. The members of a union type need to be record types.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DataType
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def signature: String

Attributes

Definition Classes
override def typeArgs: Seq[DataType]

Attributes

Definition Classes
override def typeName: String

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
DataType -> Any
Inherited from:
DataType