Interface Index
- All Superinterfaces:
Metadata
An
Index
metadata that contains information an underlying index data structure of a Table
.
This currently targets only table-specific indexes and not universal indexes. However, it can be extended to cover universal indexes if need be.
-
Method Details
-
getTableName
Returns the name of theTable
that owns theindex
.- Returns:
- The name of the
Table
that owns theindex
.
-
getIndexType
Returns the type of the index. An index type could be one of the types defined incom.apple.foundationdb.record.metadata.IndexTypes
.- Returns:
- the type of the index.
-
isUnique
boolean isUnique()Checks whether the index is unique.- Returns:
True
if the index is unique, otherwiseFalse
.
-
isSparse
boolean isSparse()Checks whether the index is sparse or not.- Returns:
True
if the index is sparse, otherwiseFalse
.
-
accept
-