|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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()
|
org.apache.jackrabbit.core.query.lucene.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 java.io.IOException
close in interface CloseableHitsjava.io.IOException - if an error occurs while releasing resources.public int getSize()
getSize in interface CloseableHits-1 if the size is unknown.
public org.apache.jackrabbit.core.query.lucene.ScoreNode nextScoreNode()
throws java.io.IOException
null if
there are no more score nodes.
nextScoreNode in interface QueryHitsjava.io.IOException - if an error occurs while reading from the index.
public void skip(int n)
throws java.io.IOException
n score nodes.
skip in interface CloseableHitsn - the number of score nodes to skip.
java.io.IOException - if an error occurs while skipping.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||