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 TermDocsIOExceptionpublic void seek(Term term)
throws IOException
seek in interface TermDocsIOExceptionpublic void seek(TermEnum termEnum)
throws IOException
seek in interface TermDocsIOExceptionpublic boolean next()
throws IOException
next in interface TermDocsIOExceptionpublic boolean skipTo(int target)
throws IOException
skipTo in interface TermDocsIOExceptionpublic void close()
throws IOException
close in interface TermDocsIOExceptionpublic int doc()
doc in interface TermDocspublic boolean equals(Object obj)
equals in class Objectpublic int freq()
freq in interface TermDocspublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object