org.apache.jackrabbit.core.query.lucene
Interface QueryHits

All Superinterfaces:
CloseableHits
All Known Implementing Classes:
AbstractQueryHits, ChildNodesQueryHits, DefaultQueryHits, LuceneQueryHits, NodeTraversingQueryHits, SortedLuceneQueryHits

public interface QueryHits
extends CloseableHits

Defines an interface for reading ScoreNodes


Method Summary
 ScoreNode nextScoreNode()
          Returns the next score node in this QueryHits or null if there are no more score nodes.
 
Methods inherited from interface org.apache.jackrabbit.core.query.lucene.CloseableHits
close, getSize, skip
 

Method Detail

nextScoreNode

ScoreNode nextScoreNode()
                        throws IOException
Returns the next score node in this QueryHits or null if there are no more score nodes.

Returns:
the next score node in this QueryHits.
Throws:
IOException - if an error occurs while reading from the index.


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.