Class

scalikejdbc.metadata

Index

Related Doc: package metadata

Permalink

case class Index(name: String, columnNames: List[String], isUnique: Boolean, qualifier: Option[String], indexType: IndexType, ordinalPosition: Option[Short], ascOrDesc: Option[String], cardinality: Option[Long], pages: Option[Long], filterCondition: Option[String]) extends Product with Serializable

Index meta data.

name

name index name; null when TYPE is tableIndexStatistic

columnNames

target column names (collection of COLUMN_NAME without null values: column name; null when TYPE is tableIndexStatistic)

isUnique

unique index (opposite of NON_UNIQUE: Can index values be non-unique. false when TYPE is tableIndexStatistic)

qualifier

index catalog (may be null); null when TYPE is tableIndexStatistic

indexType

index type: tableIndexStatistic, tableIndexClustered, tableIndexHashed, tableIndexOther

ordinalPosition

column sequence number within index; zero when TYPE is tableIndexStatistic

ascOrDesc

column sort sequence, "A" => ascending, "D" => descending, may be null if sort sequence is not supported; null when TYPE is tableIndexStatistic

cardinality

When TYPE is tableIndexStatistic, then this is the number of rows in the table; otherwise, it is the number of unique values in the index.

pages

When TYPE is tableIndexStatisic then this is the number of pages used for the table, otherwise it is the number of pages used for the current index.

filterCondition

Filter condition, if any. (may be null)

Source
Index.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Index
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Index(name: String, columnNames: List[String], isUnique: Boolean, qualifier: Option[String], indexType: IndexType, ordinalPosition: Option[Short], ascOrDesc: Option[String], cardinality: Option[Long], pages: Option[Long], filterCondition: Option[String])

    Permalink

    name

    name index name; null when TYPE is tableIndexStatistic

    columnNames

    target column names (collection of COLUMN_NAME without null values: column name; null when TYPE is tableIndexStatistic)

    isUnique

    unique index (opposite of NON_UNIQUE: Can index values be non-unique. false when TYPE is tableIndexStatistic)

    qualifier

    index catalog (may be null); null when TYPE is tableIndexStatistic

    indexType

    index type: tableIndexStatistic, tableIndexClustered, tableIndexHashed, tableIndexOther

    ordinalPosition

    column sequence number within index; zero when TYPE is tableIndexStatistic

    ascOrDesc

    column sort sequence, "A" => ascending, "D" => descending, may be null if sort sequence is not supported; null when TYPE is tableIndexStatistic

    cardinality

    When TYPE is tableIndexStatistic, then this is the number of rows in the table; otherwise, it is the number of unique values in the index.

    pages

    When TYPE is tableIndexStatisic then this is the number of pages used for the table, otherwise it is the number of pages used for the current index.

    filterCondition

    Filter condition, if any. (may be null)

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val ascOrDesc: Option[String]

    Permalink

    column sort sequence, "A" => ascending, "D" => descending, may be null if sort sequence is not supported; null when TYPE is tableIndexStatistic

  6. val cardinality: Option[Long]

    Permalink

    When TYPE is tableIndexStatistic, then this is the number of rows in the table; otherwise, it is the number of unique values in the index.

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val columnNames: List[String]

    Permalink

    target column names (collection of COLUMN_NAME without null values: column name; null when TYPE is tableIndexStatistic)

  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. val filterCondition: Option[String]

    Permalink

    Filter condition, if any.

    Filter condition, if any. (may be null)

  11. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. val indexType: IndexType

    Permalink

    index type: tableIndexStatistic, tableIndexClustered, tableIndexHashed, tableIndexOther

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. val isUnique: Boolean

    Permalink

    unique index (opposite of NON_UNIQUE: Can index values be non-unique.

    unique index (opposite of NON_UNIQUE: Can index values be non-unique. false when TYPE is tableIndexStatistic)

  16. val name: String

    Permalink

    name index name; null when TYPE is tableIndexStatistic

  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  20. val ordinalPosition: Option[Short]

    Permalink

    column sequence number within index; zero when TYPE is tableIndexStatistic

  21. val pages: Option[Long]

    Permalink

    When TYPE is tableIndexStatisic then this is the number of pages used for the table, otherwise it is the number of pages used for the current index.

  22. val qualifier: Option[String]

    Permalink

    index catalog (may be null); null when TYPE is tableIndexStatistic

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped