|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector
gate.creole.annic.apache.lucene.index.SegmentInfos
final class SegmentInfos
| Field Summary | |
|---|---|
int |
counter
|
static int |
FORMAT
The file format version, a negative number. |
private long |
version
|
| Fields inherited from class java.util.Vector |
|---|
capacityIncrement, elementCount, elementData |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
SegmentInfos()
|
|
| Method Summary | |
|---|---|
long |
getVersion()
version number when this SegmentInfos was generated. |
SegmentInfo |
info(int i)
|
void |
read(Directory directory)
|
static long |
readCurrentVersion(Directory directory)
Current version number from segments file. |
void |
write(Directory directory)
|
| Methods inherited from class java.util.Vector |
|---|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
iterator, listIterator, listIterator |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
iterator, listIterator, listIterator |
| Field Detail |
|---|
public static final int FORMAT
public int counter
private long version
| Constructor Detail |
|---|
SegmentInfos()
| Method Detail |
|---|
public final SegmentInfo info(int i)
public final void read(Directory directory)
throws IOException
IOException
public final void write(Directory directory)
throws IOException
IOExceptionpublic long getVersion()
public static long readCurrentVersion(Directory directory)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||