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
Self type

Members list

Concise view

Type members

Classlikes

case object AnyType extends PrimitiveType

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Self type
case object BooleanType extends PrimitiveType

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any

Attributes

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

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Self type
case class EmbeddedRecordType(elems: Seq[DataType]) extends DataType

For describing the type of 'select *'

For describing the type of 'select *'

Attributes

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

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Self type
abstract class FractionType(val typeName: String) extends NumericType

Attributes

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

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
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

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

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Self type
case object LongType extends NumericType

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Self type
case class MapType(keyType: DataType, valueType: DataType) extends DataType

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Self type
abstract class NumericType(val typeName: String) extends PrimitiveType

Attributes

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

Attributes

Graph
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
object ByteType.type
object DoubleType.type
object FloatType.type
object RealType.type
object IntegerType.type
object LongType.type
object ShortType.type
object StringType.type
object UnknownType.type
case object RealType extends FractionType

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Self type
case class RecordType(elems: Seq[DataType]) extends DataType

Attributes

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

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Self type
case object StringType extends PrimitiveType

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
Self type

Attributes

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

Attributes

Companion:
object
Graph
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

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class DataType
class Object
trait Matchable
class Any
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

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

Attributes

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

Attributes

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

Attributes

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

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]

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