DataType

wvlet.airframe.sql.catalog.DataType
See theDataType companion class
object DataType extends LogSupport

Attributes

Companion
class
Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
DataType.type

Members list

Type members

Classlikes

case object AnyType extends PrimitiveType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
Self type
AnyType.type
case class ArrayType(elemType: DataType) extends DataType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
case object BinaryType extends PrimitiveType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
Self type
BinaryType.type
case object BooleanType extends PrimitiveType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
Self type
case object ByteType extends NumericType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class NumericType
class DataType
class Object
trait Matchable
class Any
Show all
Self type
ByteType.type
case class CharType(length: Option[DataType]) extends DataType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
case object DateType extends PrimitiveType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
Self type
DateType.type
case class DecimalType(precision: TypeParameter, scale: TypeParameter) extends DataType

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
object DecimalType

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case object DoubleType extends FractionType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class FractionType
class NumericType
class DataType
class Object
trait Matchable
class Any
Show all
Self type
DoubleType.type
case class EmbeddedRecordType(elems: Seq[DataType]) extends DataType

For describing the type of 'select *'

For describing the type of 'select *'

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
case object FloatType extends FractionType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class FractionType
class NumericType
class DataType
class Object
trait Matchable
class Any
Show all
Self type
FloatType.type
abstract class FractionType(typeName: String) extends NumericType

Attributes

Supertypes
class NumericType
class DataType
class Object
trait Matchable
class Any
Show all
Known subtypes
object DoubleType.type
object FloatType.type
object RealType.type
case class GenericType(typeName: String, typeParams: Seq[DataType]) extends DataType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
case class IntConstant(value: Int) extends TypeParameter

Constant type used for arguments of varchar(n), char(n), decimal(p, q), etc.

Constant type used for arguments of varchar(n), char(n), decimal(p, q), etc.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
case object IntegerType extends NumericType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class NumericType
class DataType
class Object
trait Matchable
class Any
Show all
Self type
case class IntervalDayTimeType(from: String, to: String) extends DataType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
case object JsonType extends PrimitiveType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
Self type
JsonType.type
case object LongType extends NumericType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class NumericType
class DataType
class Object
trait Matchable
class Any
Show all
Self type
LongType.type
case class MapType(keyType: DataType, valueType: DataType) extends DataType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
case class NamedType(name: String, dataType: DataType) extends DataType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
case object NullType extends PrimitiveType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
Self type
NullType.type
abstract class NumericType(typeName: String) extends PrimitiveType

Attributes

Supertypes
class DataType
class Object
trait Matchable
class Any
Known subtypes
object ByteType.type
class FractionType
object DoubleType.type
object FloatType.type
object RealType.type
object IntegerType.type
object LongType.type
object ShortType.type
Show all
abstract class PrimitiveType(name: String) extends DataType

Attributes

Supertypes
class DataType
class Object
trait Matchable
class Any
Known subtypes
object AnyType.type
object BinaryType.type
object BooleanType.type
object DateType.type
object JsonType.type
object NullType.type
class NumericType
object ByteType.type
class FractionType
object DoubleType.type
object FloatType.type
object RealType.type
object IntegerType.type
object LongType.type
object ShortType.type
object StringType.type
object UnknownType.type
Show all
case object RealType extends FractionType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class FractionType
class NumericType
class DataType
class Object
trait Matchable
class Any
Show all
Self type
RealType.type
case class RecordType(elems: Seq[DataType]) extends DataType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
case object ShortType extends NumericType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class NumericType
class DataType
class Object
trait Matchable
class Any
Show all
Self type
ShortType.type
case object StringType extends PrimitiveType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
Self type
StringType.type

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait TimestampField

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object TIME.type
object TIMESTAMP.type
case class TimestampType(field: TimestampField, withTimeZone: Boolean, precision: Option[DataType]) extends DataType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
sealed abstract class TypeParameter(name: String) extends DataType

DataType parameter for representing concrete types like timestamp(2), and abstract types like timestamp(p).

DataType parameter for representing concrete types like timestamp(2), and abstract types like timestamp(p).

Attributes

Supertypes
class DataType
class Object
trait Matchable
class Any
Known subtypes
case class TypeVariable(name: String) extends TypeParameter

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
case object UnknownType extends PrimitiveType

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Show all
Self type
case class VarcharType(length: Option[DataType]) extends DataType

Attributes

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

Value members

Concrete methods

def getPrimitiveType(s: String): DataType
def isKnownGenericTypeName(s: String): Boolean
def isPrimitiveTypeName(s: String): Boolean
def parse(typeName: String): DataType
def parseArgs(typeArgs: String): List[DataType]
def unapply(str: String): Option[DataType]

Inherited methods

inline protected def debug(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods