|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.query.lucene.FilterQueryHits
public class FilterQueryHits
FilterQueryHits
implements a QueryHits
filter that
forwards each call to the underlying query hits.
Constructor Summary | |
---|---|
FilterQueryHits(QueryHits hits)
Creates a new FilterQueryHits , which forwards each call to
hits . |
Method Summary | |
---|---|
void |
close()
Releases resources held by this hits instance. |
int |
getSize()
|
ScoreNode |
nextScoreNode()
Returns the next score node in this QueryHits or null if
there are no more score nodes. |
void |
skip(int n)
Skips a n score nodes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilterQueryHits(QueryHits hits)
FilterQueryHits
, which forwards each call to
hits
.
hits
- the underlying query hits.Method Detail |
---|
public void close() throws IOException
close
in interface CloseableHits
IOException
- if an error occurs while releasing resources.public int getSize()
getSize
in interface CloseableHits
-1
if the size is unknown.public ScoreNode nextScoreNode() throws IOException
null
if
there are no more score nodes.
nextScoreNode
in interface QueryHits
IOException
- if an error occurs while reading from the index.public void skip(int n) throws IOException
n
score nodes.
skip
in interface CloseableHits
n
- the number of score nodes to skip.
IOException
- if an error occurs while skipping.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |