com.websudos.morpheus.column

Index

class Index[T <: BaseTable[T, R], R] extends AbstractColumn[String] with IndexColumn

This implements an SQL index column. With this the user can define indexes on a table. An Index is also an implementation of an Indexed column, meaning it holds no concrete value to be extracted.

Using the "not a descendant of" bound, the constructor is also ensuring an Index cannot be built out of other indexes. That would be invalid with respect to the SQL syntax rules.

T

The table owning the Record.

R

The record of the table.

Linear Supertypes
IndexColumn, AbstractColumn[String], SchemaSerializer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Index
  2. IndexColumn
  3. AbstractColumn
  4. SchemaSerializer
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Index(columns: Column[_, _, _]*)(implicit ev: <:!<[Column[_, _, _], IndexColumn])

    columns

    The columns that form the

Type Members

  1. type NonIndexColumn[Owner <: BaseTable[Owner, _]] = Column[Owner, _, _]

    Definition Classes
    IndexColumn
  2. type Value = String

    Definition Classes
    AbstractColumn

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. def apply(r: Row): String

    Definition Classes
    IndexColumn
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. lazy val name: String

    Definition Classes
    AbstractColumn
  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def notNull: Boolean

    This method, overridden by the Null and NotNull Key mixins, tells if a column is allowed to be null with respect to the SQL schema.

    This method, overridden by the Null and NotNull Key mixins, tells if a column is allowed to be null with respect to the SQL schema. Using the stackable trait pattern it's easier for the end DSL users to mentally map a Scala schema to an SQL schema with 0 effort and inversely, go from SQL to Morpheus DSL code.

    returns

    A Boolean value.

    Definition Classes
    AbstractColumn
  18. final def notify(): Unit

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

    Definition Classes
    AnyRef
  20. def qb: SQLBuiltQuery

    Definition Classes
    Index → AbstractColumn → SchemaSerializer
  21. def sqlType: String

    Definition Classes
    Index → AbstractColumn
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def table: BaseTable[_, _]

    Definition Classes
    Index → AbstractColumn
  24. def toQueryString(v: String): String

    Definition Classes
    Index → AbstractColumn
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from IndexColumn

Inherited from AbstractColumn[String]

Inherited from SchemaSerializer

Inherited from AnyRef

Inherited from Any

Ungrouped