public interface Index extends DependantObject<Table>, TypedObject<IndexType>, DefinedObject, Iterable<IndexColumn>
Modifier and Type | Method and Description |
---|---|
int |
getCardinality()
Gets the cardinality.
|
List<IndexColumn> |
getColumns()
Gets the list of columns in ordinal order.
|
IndexType |
getIndexType()
Gets the index type.
|
int |
getPages()
Gets the pages.
|
default IndexType |
getType()
Gets the type of the object.
|
boolean |
isUnique()
If the index is unique.
|
Optional<? extends IndexColumn> |
lookupColumn(String name)
Gets a column by unqualified name.
|
getShortName, isParentPartial
getSchema
getFullName, getLookupKey, getName
compareTo
getAttribute, getAttribute, getAttributes, hasAttribute, lookupAttribute, removeAttribute, setAttribute
getRemarks, hasRemarks
getParent
getDefinition, hasDefinition
forEach, iterator, spliterator
int getCardinality()
List<IndexColumn> getColumns()
IndexType getIndexType()
int getPages()
default IndexType getType()
getType
in interface TypedObject<IndexType>
TypedObject.getType()
boolean isUnique()
Optional<? extends IndexColumn> lookupColumn(String name)
name
- Unqualified nameCopyright © 2000-2017 Sualeh Fatehi. All rights reserved.