|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgate.creole.annic.apache.lucene.index.TermEnum
gate.creole.annic.apache.lucene.index.SegmentTermEnum
final class SegmentTermEnum
| Field Summary | |
|---|---|
private char[] |
buffer
|
(package private) FieldInfos |
fieldInfos
|
private int |
format
|
private int |
formatM1SkipInterval
|
(package private) int |
indexInterval
|
(package private) long |
indexPointer
|
private InputStream |
input
|
private boolean |
isIndex
|
(package private) long |
position
|
(package private) Term |
prev
|
(package private) long |
size
|
(package private) int |
skipInterval
|
private Term |
term
|
private TermInfo |
termInfo
|
| Constructor Summary | |
|---|---|
SegmentTermEnum(InputStream i,
FieldInfos fis,
boolean isi)
|
|
| Method Summary | |
|---|---|
protected Object |
clone()
|
void |
close()
Closes the enumeration to further activity, freeing resources. |
int |
docFreq()
Returns the docFreq from the current TermInfo in the enumeration. |
(package private) long |
freqPointer()
|
private void |
growBuffer(int length)
|
boolean |
next()
Increments the enumeration to the next element. |
(package private) long |
proxPointer()
|
private Term |
readTerm()
|
(package private) void |
seek(long pointer,
int p,
Term t,
TermInfo ti)
|
Term |
term()
Returns the current Term in the enumeration. |
(package private) TermInfo |
termInfo()
Returns the current TermInfo in the enumeration. |
(package private) void |
termInfo(TermInfo ti)
Sets the argument to the current TermInfo in the enumeration. |
| Methods inherited from class gate.creole.annic.apache.lucene.index.TermEnum |
|---|
skipTo |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private InputStream input
FieldInfos fieldInfos
long size
long position
private Term term
private TermInfo termInfo
private int format
private boolean isIndex
long indexPointer
int indexInterval
int skipInterval
private int formatM1SkipInterval
Term prev
private char[] buffer
| Constructor Detail |
|---|
SegmentTermEnum(InputStream i,
FieldInfos fis,
boolean isi)
throws IOException
IOException| Method Detail |
|---|
protected Object clone()
clone in class Object
final void seek(long pointer,
int p,
Term t,
TermInfo ti)
throws IOException
IOException
public final boolean next()
throws IOException
next in class TermEnumIOException
private final Term readTerm()
throws IOException
IOExceptionprivate final void growBuffer(int length)
public final Term term()
term in class TermEnumfinal TermInfo termInfo()
final void termInfo(TermInfo ti)
public final int docFreq()
docFreq in class TermEnumfinal long freqPointer()
final long proxPointer()
public final void close()
throws IOException
close in class TermEnumIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||