org.apache.jackrabbit.core.query.lucene
Interface MultiColumnQueryHits
- All Superinterfaces:
- CloseableHits
- All Known Implementing Classes:
- FilterMultiColumnQueryHits, QueryHitsAdapter
public interface MultiColumnQueryHits
- extends CloseableHits
MultiColumnQueryHits
defines an interface for reading tuples of
ScoreNode
s. The ScoreNode
s within a tuple are identified by
selector Name
s.
Method Summary |
Name[] |
getSelectorNames()
|
org.apache.jackrabbit.core.query.lucene.ScoreNode[] |
nextScoreNodes()
Returns the next score nodes in this QueryHits or null if
there are no more score nodes. |
nextScoreNodes
org.apache.jackrabbit.core.query.lucene.ScoreNode[] nextScoreNodes()
throws IOException
- Returns the next score nodes in this QueryHits or
null
if
there are no more score nodes.
- Returns:
- the next score nodes in this QueryHits.
- Throws:
IOException
- if an error occurs while reading from the index.
getSelectorNames
Name[] getSelectorNames()
- Returns:
- the selector names that correspond to the
ScoreNode
s
returned by nextScoreNodes()
.
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.