private class IndexSelectionWorker.IndexHelper.IndexInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.List<P2JIndex> |
indexes
List of indexes.
|
private boolean |
wholeIndex
WHOLE-INDEX flag which is
true if the index or indexes do not have
bracketing, i.e. |
Modifier | Constructor and Description |
---|---|
private |
IndexInfo()
Creates information object with empty list of indexes.
|
private |
IndexInfo(java.util.List<P2JIndex> indexes)
Creates information object with the given list of indexes and WHOLE-INDEX flag set to
false . |
private |
IndexInfo(java.util.List<P2JIndex> indexes,
boolean wholeIndex)
Creates information object with the given list of indexes and WHOLE-INDEX flag set to
the specified value.
|
private |
IndexInfo(P2JIndex index,
boolean wholeIndex)
Creates information object with the list of indexes consisting of the single specified
index and WHOLE-INDEX flag set to the specified value.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Produces index information string in the same format as INDEX-INFORMATION does:
comma-separated list of index names prepended "WHOLE-INDEX," if WHOLE-INDEX flag is
true . |
private boolean wholeIndex
true
if the index or indexes do not have
bracketing, i.e. 4GL walks through the whole index(es) and false
if
the index or indexes have bracketing.private final java.util.List<P2JIndex> indexes
private IndexInfo()
private IndexInfo(java.util.List<P2JIndex> indexes)
false
.indexes
- List of indexes.private IndexInfo(java.util.List<P2JIndex> indexes, boolean wholeIndex)
indexes
- List of indexes.wholeIndex
- WHOLE-INDEX flag (see wholeIndex
).private IndexInfo(P2JIndex index, boolean wholeIndex)
index
- A single index.wholeIndex
- WHOLE-INDEX flag (see wholeIndex
).