org.virtuslab.beholder.views.FilterableViews

BaseView2

class BaseView2[T, A, B] extends BaseView[A, T]

Base view for view with 2 fields

T

entity

A

first field

B

sec field

Linear Supertypes
BaseView[A, T], unicorn.LongUnicornPlay.BaseTable[T], unicorn.LongUnicornPlay.CustomTypeMappers, scala.slick.driver.JdbcDriver.Table[T], AbstractTable[T], Rep[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BaseView2
  2. BaseView
  3. BaseTable
  4. CustomTypeMappers
  5. Table
  6. AbstractTable
  7. Rep
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BaseView2(tag: Tag, name: String, columnNames: Seq[String], apply: (A, B) ⇒ T, unapply: (T) ⇒ Option[(A, B)], query: scala.slick.driver.JdbcProfile.SimpleQL.Query[_, T, Seq])(implicit arg0: ClassTag[T], arg1: TypedType[A], arg2: TypedType[B])

    name

    name of view

    columnNames

    names of view columns - columnsNames(0) -> c1 etc

    apply

    to create entity

    unapply

    to map entity to tuple

    query

    query that build view

Type Members

  1. final type TableElementType = T

    Definition Classes
    Table → AbstractTable

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def *: ProvenShape[T]

    Definition Classes
    BaseView2 → AbstractTable
  4. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  5. val O: scala.slick.driver.JdbcDriver.columnOptions.type

    Definition Classes
    Table
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def c1: Column[A]

  8. def c2: Column[B]

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def collectFieldSymbols(n: Node): Iterable[FieldSymbol]

    Attributes
    protected[this]
    Definition Classes
    AbstractTable
  11. def column[C](n: String, options: ColumnOption[C]*)(implicit tm: TypedType[C]): Column[C]

    Definition Classes
    Table
  12. def columnByName[A](name: String): scala.slick.driver.JdbcProfile.SimpleQL.Column[_]

    find column by name

    find column by name

    name
    returns

    Definition Classes
    BaseView
  13. val columnNames: Seq[String]

    names of view columns - columnsNames(0) -> c1 etc

  14. val columns: Seq[(String, (BaseView2.this.type) ⇒ Column[_])]

    Attributes
    protected
    Definition Classes
    BaseView2BaseView
  15. def create_*: Iterable[FieldSymbol]

    Definition Classes
    AbstractTable
  16. implicit val dateTimeMapper: scala.slick.driver.JdbcProfile.SimpleQL.BaseColumnType[DateTime]

    Definition Classes
    CustomTypeMappers
  17. implicit val durationTypeMapper: scala.slick.driver.JdbcProfile.SimpleQL.BaseColumnType[Duration]

    Definition Classes
    CustomTypeMappers
  18. def encodeRef(path: List[Symbol]): AbstractTable[T]

    Definition Classes
    AbstractTable → Rep
  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def foreignKey[P, PU, TT <: AbstractTable[_], U](name: String, sourceColumns: P, targetTableQuery: TableQuery[TT])(targetColumns: (TT) ⇒ P, onUpdate: ForeignKeyAction, onDelete: ForeignKeyAction)(implicit unpack: Shape[_ <: FlatShapeLevel, TT, U, _], unpackp: Shape[_ <: FlatShapeLevel, P, PU, _]): ForeignKeyQuery[TT, U]

    Definition Classes
    AbstractTable
  23. final def foreignKeys: Iterable[ForeignKey]

    Definition Classes
    AbstractTable
  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  26. def id: Column[A]

    column that is tread as view 'id' - it is use eg.

    column that is tread as view 'id' - it is use eg. for default sort

    returns

    Definition Classes
    BaseView2BaseView
  27. def index[T](name: String, on: T, unique: Boolean)(implicit shape: Shape[_ <: FlatShapeLevel, T, _, _]): Index

    Definition Classes
    AbstractTable
  28. def indexes: Iterable[Index]

    Definition Classes
    AbstractTable
  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. implicit val localDateMapper: scala.slick.driver.JdbcProfile.SimpleQL.BaseColumnType[LocalDate]

    Definition Classes
    CustomTypeMappers
  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  34. def primaryKey[T](name: String, sourceColumns: T)(implicit shape: Shape[_ <: FlatShapeLevel, T, _, _]): PrimaryKey

    Definition Classes
    AbstractTable
  35. final def primaryKeys: Iterable[PrimaryKey]

    Definition Classes
    AbstractTable
  36. val query: scala.slick.driver.JdbcProfile.SimpleQL.Query[_, T, Seq]

    query that build view

    query that build view

    Definition Classes
    BaseView2BaseView
  37. val schemaName: Option[String]

    Definition Classes
    AbstractTable
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def tableConstraints: Iterator[Constraint]

    Definition Classes
    AbstractTable
  40. def tableIdentitySymbol: TableIdentitySymbol

    Definition Classes
    Table → AbstractTable
  41. val tableName: String

    Definition Classes
    AbstractTable
  42. lazy val tableNode: TableNode

    Definition Classes
    AbstractTable
  43. def tableProvider: RelationalDriver

    Definition Classes
    Table
  44. val tableTag: Tag

    Definition Classes
    AbstractTable
  45. def toNode: Node

    Definition Classes
    AbstractTable → Rep
  46. def toString(): String

    Definition Classes
    AnyRef → Any
  47. val viewName: String

    name of view

    name of view

    Definition Classes
    BaseView
  48. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from BaseView[A, T]

Inherited from unicorn.LongUnicornPlay.BaseTable[T]

Inherited from unicorn.LongUnicornPlay.CustomTypeMappers

Inherited from scala.slick.driver.JdbcDriver.Table[T]

Inherited from AbstractTable[T]

Inherited from Rep[T]

Inherited from AnyRef

Inherited from Any

Ungrouped