-
- All Implemented Interfaces:
public final class IndexWrapper for the results of the getIndexInfo method and represents a Table's indices and statistics. Returned from Table.getIndexes
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringcatalogprivate final Stringschemaprivate final StringtableNameprivate final Stringnameprivate final BooleannonUniqueprivate final StringindexQualifierprivate final IndexTypetypeprivate final Longcardinalityprivate final Longpagesprivate final StringfilterConditionprivate final List<IndexColumn>indexColumns
-
Method Summary
Modifier and Type Method Description final StringgetCatalog()CatalogSource column: TABLE_CAT final StringgetSchema()SchemaSource column: TABLE_SCHEM final StringgetTableName()Table nameSource column: TABLE_NAME final StringgetName()Name, null when type is IndexType.STATISTICSource column: INDEX_NAME final BooleangetNonUnique()Non unique, false when type is IndexType.STATISTICSource column: NON_UNIQUE final StringgetIndexQualifier()Index qualifier, null when type is IndexType.STATISTICSource column: INDEX_QUALIFIER final IndexTypegetType()TypeSource column: TYPE final LonggetCardinality()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 indexSource column: CARDINALITY final LonggetPages()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 indexSource column: PAGES final StringgetFilterCondition()Filter conditionSource column: FILTER_CONDITION final List<IndexColumn>getIndexColumns()Index columns Booleanequals(Object other)IntegerhashCode()-
-
Method Detail
-
getCatalog
final String getCatalog()
Catalog
Source column: TABLE_CAT
-
getTableName
final String getTableName()
Table name
Source column: TABLE_NAME
-
getName
final String getName()
Name, null when type is IndexType.STATISTIC
Source column: INDEX_NAME
-
getNonUnique
final Boolean getNonUnique()
Non unique, false when type is IndexType.STATISTIC
Source column: NON_UNIQUE
-
getIndexQualifier
final String getIndexQualifier()
Index qualifier, null when type is IndexType.STATISTIC
Source column: INDEX_QUALIFIER
-
getCardinality
final Long getCardinality()
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
Source column: CARDINALITY
-
getPages
final Long getPages()
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
Source column: PAGES
-
getFilterCondition
final String getFilterCondition()
Filter condition
Source column: FILTER_CONDITION
-
getIndexColumns
final List<IndexColumn> getIndexColumns()
Index columns
-
-
-
-