wvlet.airframe.codec.DataType
See theDataType companion trait
object DataType
Attributes
Members list
Type members
Classlikes
case class ARRAY(elementType: DataType) extends StructuredType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StructuredTypetrait DataTypeclass Objecttrait Matchableclass AnyShow all
case object BINARY extends PrimitiveType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass PrimitiveTypetrait DataTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
BINARY.type
case object BOOLEAN extends PrimitiveType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass PrimitiveTypetrait DataTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
BOOLEAN.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
case object FLOAT extends PrimitiveType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass PrimitiveTypetrait DataTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
FLOAT.type
case object INTEGER extends PrimitiveType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass PrimitiveTypetrait DataTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
INTEGER.type
case object JSON extends PrimitiveType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass PrimitiveTypetrait DataTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
JSON.type
case class MAP(keyType: DataType, valueType: DataType) extends StructuredType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StructuredTypetrait DataTypeclass Objecttrait Matchableclass AnyShow all
case object NIL extends PrimitiveType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass PrimitiveTypetrait DataTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
NIL.type
Attributes
- Supertypes
sealed abstract class PrimitiveType(val signature: String) extends DataType
case class RecordType(typeName: String, column: Seq[Column]) extends DataType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait DataTypeclass Objecttrait Matchableclass AnyShow all
case object STRING extends PrimitiveType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass PrimitiveTypetrait DataTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
STRING.type
sealed trait StructuredType extends DataType
case object TIMESTAMP extends PrimitiveType
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass PrimitiveTypetrait DataTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
TIMESTAMP.type
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.
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
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StructuredTypetrait DataTypeclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
In this article