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

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

public interface QueryHits
extends CloseableHits

Defines an interface for reading ScoreNodes


Method Summary
 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 interface org.apache.jackrabbit.core.query.lucene.CloseableHits
close, getSize, skip
 

Method Detail

nextScoreNode

org.apache.jackrabbit.core.query.lucene.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-2008 The Apache Software Foundation. All Rights Reserved.