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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    BaseView2 → AbstractTable
  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. val O: scala.slick.driver.JdbcDriver.columnOptions.type

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

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

  10. def c2: Column[B]

  11. def clone(): AnyRef

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

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

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

    find column by name

    find column by name

    name
    returns

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

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

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

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

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

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

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

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. 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
  25. final def foreignKeys: Iterable[ForeignKey]

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

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

    Definition Classes
    AnyRef → Any
  28. 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
  29. def index[T](name: String, on: T, unique: Boolean)(implicit shape: Shape[_ <: FlatShapeLevel, T, _, _]): Index

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

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

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

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

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

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

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

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

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

    query that build view

    query that build view

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

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

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

    Definition Classes
    AbstractTable
  42. def tableIdentitySymbol: TableIdentitySymbol

    Definition Classes
    Table → AbstractTable
  43. val tableName: String

    Definition Classes
    AbstractTable
  44. lazy val tableNode: TableNode

    Definition Classes
    AbstractTable
  45. def tableProvider: RelationalDriver

    Definition Classes
    Table
  46. val tableTag: Tag

    Definition Classes
    AbstractTable
  47. def toNode: Node

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

    Definition Classes
    AnyRef → Any
  49. val viewName: String

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. 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