Packages

t

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.

Source
Type.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaType
  2. TypedType
  3. Type
  4. Dumpable
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def children: ConstArray[Type]

    All children of this Type.

    All children of this Type.

    Definition Classes
    Type
  2. abstract 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

    Definition Classes
    Type
  3. abstract 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.

    Definition Classes
    Type
  4. abstract def nullable: Boolean
  5. abstract def ordered: Boolean
  6. abstract def scalaOrderingFor(ord: Ordering): scala.math.Ordering[T]

Concrete Value Members

  1. def childrenForeach[R](f: (Type) => R): Unit

    Apply a side-effecting function to all children.

    Apply a side-effecting function to all children.

    Definition Classes
    Type
  2. def getDumpInfo: DumpInfo

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

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

    Definition Classes
    TypeDumpable
  3. final def isPrimitive: Boolean
  4. def optionType: ScalaOptionType[T]
    Definition Classes
    ScalaTypeTypedType
  5. final def scalaType: ScalaType[T]
    Definition Classes
    ScalaTypeTypedType
  6. def select(sym: TermSymbol): Type
    Definition Classes
    Type
  7. def structural: Type

    The structural view of this type

    The structural view of this type

    Definition Classes
    Type
  8. def structuralRec: Type

    Remove all NominalTypes recursively from this Type

    Remove all NominalTypes recursively from this Type

    Definition Classes
    Type