|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.index.MultipleTermPositions
Describe class MultipleTermPositions
here.
Constructor Summary | |
MultipleTermPositions(IndexReader indexReader,
Term[] terms)
Creates a new MultipleTermPositions instance. |
Method Summary | |
void |
close()
Describe close method here. |
int |
doc()
Describe doc method here. |
int |
freq()
Describe freq method here. |
boolean |
next()
Describe next method here. |
int |
nextPosition()
Describe nextPosition method here. |
int |
read(int[] arg0,
int[] arg1)
Describe read method here. |
void |
seek(Term arg0)
Describe seek method here. |
void |
seek(TermEnum termEnum)
Sets this to the data for the current term in a TermEnum . |
boolean |
skipTo(int target)
Describe skipTo method here. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MultipleTermPositions(IndexReader indexReader, Term[] terms) throws IOException
MultipleTermPositions
instance.
indexReader
- an IndexReader
valueterms
- a Term[]
value
IOException
- if an error occursMethod Detail |
public final boolean next() throws IOException
next
method here.
next
in interface TermDocs
boolean
value
IOException
- if an error occursTermDocs.next()
public final int nextPosition() throws IOException
nextPosition
method here.
nextPosition
in interface TermPositions
int
value
IOException
- if an error occursTermPositions.nextPosition()
public final boolean skipTo(int target) throws IOException
skipTo
method here.
skipTo
in interface TermDocs
target
- an int
value
boolean
value
IOException
- if an error occursTermDocs.skipTo(int)
public final int doc()
doc
method here.
doc
in interface TermDocs
int
valueTermDocs.doc()
public final int freq()
freq
method here.
freq
in interface TermDocs
int
valueTermDocs.freq()
public final void close() throws IOException
close
method here.
close
in interface TermDocs
IOException
- if an error occursTermDocs.close()
public void seek(Term arg0) throws IOException
seek
method here.
seek
in interface TermDocs
arg0
- a Term
value
IOException
- if an error occursTermDocs.seek(Term)
public void seek(TermEnum termEnum) throws IOException
TermDocs
TermEnum
.
This may be optimized in some implementations.
seek
in interface TermDocs
IOException
public int read(int[] arg0, int[] arg1) throws IOException
read
method here.
read
in interface TermDocs
arg0
- an int[]
valuearg1
- an int[]
value
int
value
IOException
- if an error occursTermDocs.read(int[], int[])
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |