|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.query.lucene.FilterMultiColumnQueryHits
public class FilterMultiColumnQueryHits
FilterMultiColumnQueryHits
implements a
MultiColumnQueryHits
filter that forwards each call to the underlying
query hits.
Constructor Summary | |
---|---|
FilterMultiColumnQueryHits(MultiColumnQueryHits hits)
Creates a new FilterMultiColumnQueryHits , which forwards
each call to hits . |
Method Summary | |
---|---|
void |
close()
Releases resources held by this hits instance. |
Name[] |
getSelectorNames()
|
int |
getSize()
|
ScoreNode[] |
nextScoreNodes()
Returns the next score nodes 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 FilterMultiColumnQueryHits(MultiColumnQueryHits hits)
FilterMultiColumnQueryHits
, 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[] nextScoreNodes() throws IOException
null
if
there are no more score nodes.
nextScoreNodes
in interface MultiColumnQueryHits
IOException
- if an error occurs while reading from the index.public Name[] getSelectorNames()
getSelectorNames
in interface MultiColumnQueryHits
ScoreNode
s
returned by MultiColumnQueryHits.nextScoreNodes()
.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 |