class LimTermDocs
extends Object
implements TermDocs
Modifier and Type | Field and Description |
---|---|
private LimIndexReader |
reader |
private TermDocs |
wrapped |
Constructor and Description |
---|
LimTermDocs(LimIndexReader reader,
TermDocs toWrap)
Construct a new wrapper around a TermDocs
|
Modifier and Type | Method and Description |
---|---|
void |
close()
OTHER DELEGATED METHODS
|
int |
doc() |
boolean |
equals(Object obj) |
int |
freq() |
int |
hashCode() |
boolean |
next() |
int |
read(int[] docs,
int[] freqs)
DELEGATED METHODS THAT PERFORM "WORK"
|
void |
seek(Term term) |
void |
seek(TermEnum termEnum) |
boolean |
skipTo(int target) |
String |
toString() |
private LimIndexReader reader
private TermDocs wrapped
public LimTermDocs(LimIndexReader reader, TermDocs toWrap)
public int read(int[] docs, int[] freqs) throws IOException
read
in interface TermDocs
IOException
public void seek(Term term) throws IOException
seek
in interface TermDocs
IOException
public void seek(TermEnum termEnum) throws IOException
seek
in interface TermDocs
IOException
public boolean next() throws IOException
next
in interface TermDocs
IOException
public boolean skipTo(int target) throws IOException
skipTo
in interface TermDocs
IOException
public void close() throws IOException
close
in interface TermDocs
IOException
public int doc()
doc
in interface TermDocs
public boolean equals(Object obj)
equals
in class Object
public int freq()
freq
in interface TermDocs
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object