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.

trait Serializable
trait Product
trait Equals
trait DataType
class Object
trait Matchable
class Any

Value members

Concrete methods

override def signature: String
Definition Classes
override def typeArgs: Seq[DataType]
Definition Classes
override def typeName: String
Definition Classes

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
override def toString: String
Definition Classes
DataType -> Any
Inherited from:
DataType