static enum IndexedDISI.Method extends java.lang.Enum<IndexedDISI.Method>
Modifier and Type | Method and Description |
---|---|
(package private) abstract boolean |
advanceExactWithinBlock(IndexedDISI disi,
int target)
Advance the iterator exactly to the position corresponding to the given
target
and return whether this document exists. |
(package private) abstract boolean |
advanceWithinBlock(IndexedDISI disi,
int target)
Advance to the first doc from the block that is equal to or greater than
target . |
static IndexedDISI.Method |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IndexedDISI.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexedDISI.Method SPARSE
public static final IndexedDISI.Method DENSE
public static final IndexedDISI.Method ALL
public static IndexedDISI.Method[] values()
for (IndexedDISI.Method c : IndexedDISI.Method.values()) System.out.println(c);
public static IndexedDISI.Method valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullabstract boolean advanceWithinBlock(IndexedDISI disi, int target) throws java.io.IOException
target
.
Return true if there is such a doc and false otherwise.java.io.IOException
abstract boolean advanceExactWithinBlock(IndexedDISI disi, int target) throws java.io.IOException
target
and return whether this document exists.java.io.IOException