org.apache.jackrabbit.core.query.lucene
Interface MultiColumnQueryHits
- All Superinterfaces:
- CloseableHits
- All Known Implementing Classes:
- FilterMultiColumnQueryHits, Join, QueryHitsAdapter, SortedMultiColumnQueryHits
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.
nextScoreNodes
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-2010 The Apache Software Foundation. All Rights Reserved.