Index

class Index(rs: ResultSet)

Wrapper for the results of the getIndexInfo method and represents a Table's indices and statistics. Returned from Table.getIndexes

Parameters

rs

Constructors

Link copied to clipboard
fun Index(rs: ResultSet)

Properties

Link copied to clipboard
val cardinality: Long

Cardinality, when type is IndexType.STATISTIC this is the number of rows in the table, otherwise it is the number of unique values in the index

Link copied to clipboard
val catalog: String?

Catalog

Link copied to clipboard
val columnName: String?

Column name, null when type is IndexType.STATISTIC

Link copied to clipboard
val filterCondition: String?

Filter condition

Link copied to clipboard
val indexQualifier: String?

Index qualifier, null when type is IndexType.STATISTIC

Link copied to clipboard
val name: String

Name, null when type is IndexType.STATISTIC

Link copied to clipboard
val nonUnique: Boolean

Non unique, false when type is IndexType.STATISTIC

Link copied to clipboard
val ordinalPosition: Int

Ordinal position, 0 when type is IndexType.STATISTIC

Link copied to clipboard
val pages: Long

Pages, when type is IndexType.STATISTIC this is then number pages used for the table, otherwise it is the number of pages used for the current index

Link copied to clipboard
val schema: String

Schema

Link copied to clipboard
val sortSequence: IndexSort

Sort sequence, converted to IndexSort

Link copied to clipboard
val tableName: String

Table name

Link copied to clipboard
val type: IndexType

Type