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