private static class TableMapper.LegacyIndexInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private TableMapper.LegacyIndexComponentInfo[] |
components
Index components (fields with sorting directions).
|
private java.lang.String |
convertedName
The converted name of this index.
|
private boolean |
effectivePrimary
Determine if the index is a primary index: the one with the "primary" annotation or, if
there is no such one, the first in the definition order.
|
private java.lang.String |
legacyName
The legacy name of this index.
|
private boolean |
unique
Determine if the index is an unique index.
|
private boolean |
word
Determine if the index is a word-index index.
|
Constructor and Description |
---|
LegacyIndexInfo(LegacyIndex index)
Create a new index information container, holding index attributes and components.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
indexInformation()
Returns index information as a string.
|
private final java.lang.String legacyName
private final java.lang.String convertedName
private boolean effectivePrimary
private final boolean unique
private final boolean word
private final TableMapper.LegacyIndexComponentInfo[] components
LegacyIndexInfo(LegacyIndex index)
index
- Source index annotation generated at conversion stage.public java.lang.String indexInformation()
Buffer.indexInformation(int)