|
|||||||||||
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 java.io.IOException
MultipleTermPositions
instance.
indexReader
- an IndexReader
valueterms
- a Term[]
value
java.io.IOException
- if an error occursMethod Detail |
public final boolean next() throws java.io.IOException
next
method here.
next
in interface TermDocs
boolean
value
java.io.IOException
- if an error occursTermDocs.next()
public final int nextPosition() throws java.io.IOException
nextPosition
method here.
nextPosition
in interface TermPositions
int
value
java.io.IOException
- if an error occursTermPositions.nextPosition()
public final boolean skipTo(int target) throws java.io.IOException
skipTo
method here.
skipTo
in interface TermDocs
target
- an int
value
boolean
value
java.io.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 java.io.IOException
close
method here.
close
in interface TermDocs
java.io.IOException
- if an error occursTermDocs.close()
public void seek(Term arg0) throws java.io.IOException
seek
method here.
seek
in interface TermDocs
arg0
- a Term
value
java.io.IOException
- if an error occursTermDocs.seek(Term)
public void seek(TermEnum termEnum) throws java.io.IOException
TermDocs
TermEnum
.
This may be optimized in some implementations.
seek
in interface TermDocs
java.io.IOException
public int read(int[] arg0, int[] arg1) throws java.io.IOException
read
method here.
read
in interface TermDocs
arg0
- an int[]
valuearg1
- an int[]
value
int
value
java.io.IOException
- if an error occursTermDocs.read(int[], int[])
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |