AbstractTableClassDef

slick.codegen.AbstractGenerator.AbstractTableDef.AbstractTableClassDef

Table class generator definition

Attributes

Source
AbstractGenerator.scala
Graph
Supertypes
trait AbstractDef
class Object
trait Matchable
class Any
Known subtypes

Members list

Grouped members

Basic customization overrides

def code: Code

Scala code

Scala code

Attributes

Source
AbstractGenerator.scala
def doc: String

Scala doc comment

Scala doc comment

Attributes

Source
AbstractGenerator.scala
def enabled: Boolean

Indicates whether this will be included in the generated code

Indicates whether this will be included in the generated code

Attributes

Inherited from:
AbstractDef
Source
AbstractGenerator.scala
def parents: Seq[Code]

Inherited traits.

Inherited traits.

Attributes

Inherited from:
AbstractTypeDef
Source
AbstractGenerator.scala
def rawName: String

Name as desired in Scala Code. (Allowed to collide with Scala keywords. Will be automatically escaped.)

Name as desired in Scala Code. (Allowed to collide with Scala keywords. Will be automatically escaped.)

Attributes

Source
AbstractGenerator.scala

Value members

Abstract methods

def option: Code

The ? projection to produce an Option row. Useful for outer joins.

The ? projection to produce an Option row. Useful for outer joins.

Attributes

Source
AbstractGenerator.scala
def optionFactory: Code

Function that constructs an Option of an entity object from the unmapped Option values

Function that constructs an Option of an entity object from the unmapped Option values

Attributes

Source
AbstractGenerator.scala
def star: Code

The * projection that accumulates all columns and map them if mappingEnabled is true

The * projection that accumulates all columns and map them if mappingEnabled is true

Attributes

Source
AbstractGenerator.scala

Concrete methods

def body: Seq[Seq[Code]]

Code for enabled definitions in this table class grouped into logical groups.

Code for enabled definitions in this table class grouped into logical groups.

Attributes

Source
AbstractGenerator.scala
def definitions: Seq[Seq[AbstractDef]]

All definitions in this table class including disabled ones grouped into logical groups.

All definitions in this table class including disabled ones grouped into logical groups.

Attributes

Source
AbstractGenerator.scala
def elementType: TypeName

The type of the elements this table yields.

The type of the elements this table yields.

Attributes

Source
AbstractGenerator.scala
def optionEnabled: Boolean

Indicates whether a ? projection should be generated.

Indicates whether a ? projection should be generated.

Attributes

Source
AbstractGenerator.scala

Inherited methods

def docWithCode: Code

Scala doc comment with code

Scala doc comment with code

Attributes

Inherited from:
AbstractDef
Source
AbstractGenerator.scala
final def getEnabled: Option[AbstractDef]

Returns Some(this) if enabled else None

Returns Some(this) if enabled else None

Attributes

Inherited from:
AbstractDef
Source
AbstractGenerator.scala
final def name: TypeName

Name (escaped if colliding with Scala keyword).

Name (escaped if colliding with Scala keyword).

Attributes

Inherited from:
AbstractTypeDef
Source
AbstractGenerator.scala