ScalaType

slick.ast.ScalaType
trait ScalaType[T] extends TypedType[T]

A Slick Type encoding of plain Scala types.

This is used by QueryInterpreter and MemoryProfile. Values stored in HeapBackend columns are also expected to use these types.

All profiles should support the following types which are used internally by the lifted embedding and the query compiler: Boolean, Char, Int, Long, Null, String.

Attributes

Source
Type.scala
Graph
Supertypes
trait TypedType[T]
trait Type
trait Dumpable
class Object
trait Matchable
class Any
Show all
Known subtypes
class ScalaBaseType[T]
class ErasedScalaBaseType[T, E]
class ScalaNumericType[T]
class ScalaOptionType[T]
class MappedColumnType[T, U]

Members list

Value members

Abstract methods

def nullable: Boolean

Attributes

Source
Type.scala
def ordered: Boolean

Attributes

Source
Type.scala
def scalaOrderingFor(ord: Ordering): Ordering[T]

Attributes

Source
Type.scala

Concrete methods

final def isPrimitive: Boolean

Attributes

Source
Type.scala
override def optionType: ScalaOptionType[T]

Attributes

Definition Classes
Source
Type.scala
final def scalaType: ScalaType[T]

Attributes

Source
Type.scala

Inherited methods

All children of this Type.

All children of this Type.

Attributes

Inherited from:
Type
Source
Type.scala
def childrenForeach[R](f: Type => R): Unit

Apply a side-effecting function to all children.

Apply a side-effecting function to all children.

Attributes

Inherited from:
Type
Source
Type.scala
def classTag: ClassTag[_]

A ClassTag for the erased type of this type's Scala values

A ClassTag for the erased type of this type's Scala values

Attributes

Inherited from:
Type
Source
Type.scala

Return the name, main info, attribute info and named children

Return the name, main info, attribute info and named children

Attributes

Inherited from:
Type
Source
Type.scala
def mapChildren(f: Type => Type): Type

Apply a transformation to all type children and reconstruct this type with the new children, or return the original object if no child is changed.

Apply a transformation to all type children and reconstruct this type with the new children, or return the original object if no child is changed.

Attributes

Inherited from:
Type
Source
Type.scala
def select(sym: TermSymbol): Type

Attributes

Inherited from:
Type
Source
Type.scala

The structural view of this type

The structural view of this type

Attributes

Inherited from:
Type
Source
Type.scala

Remove all NominalTypes recursively from this Type

Remove all NominalTypes recursively from this Type

Attributes

Inherited from:
Type
Source
Type.scala