|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.query.lucene.AbstractQueryHits
org.apache.jackrabbit.core.query.lucene.DefaultQueryHits
public class DefaultQueryHits
DefaultQueryHits implements QueryHits based on a
collection of ScoreNodes.
| Constructor Summary | |
|---|---|
DefaultQueryHits(java.util.Collection scoreNodes)
Creates a new DefaultQueryHits instance based on the passed
scoreNodes. |
|
| Method Summary | |
|---|---|
int |
getSize()
This default implementation returns -1. |
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. |
| Methods inherited from class org.apache.jackrabbit.core.query.lucene.AbstractQueryHits |
|---|
close, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultQueryHits(java.util.Collection scoreNodes)
DefaultQueryHits instance based on the passed
scoreNodes.
scoreNodes - a collection of ScoreNodes.| Method Detail |
|---|
public org.apache.jackrabbit.core.query.lucene.ScoreNode nextScoreNode()
throws java.io.IOException
null if
there are no more score nodes.
java.io.IOException - if an error occurs while reading from the index.public int getSize()
-1.
getSize in interface CloseableHitsgetSize in class AbstractQueryHits-1.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||