public class ChildNodesQueryHits extends AbstractQueryHits
ChildNodesQueryHits implements query hits that returns the child
 nodes of another given query hits.| Constructor and Description | 
|---|
| ChildNodesQueryHits(QueryHits parents,
                   SessionImpl session)Creates a new  ChildNodesQueryHitsthat returns the child
 nodes of all query hits from the givenparents. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()This default implementation does nothing. | 
| ScoreNode | nextScoreNode()Returns the next score node in this QueryHits or  nullif
 there are no more score nodes. | 
getSize, skippublic ChildNodesQueryHits(QueryHits parents, SessionImpl session) throws IOException
ChildNodesQueryHits that returns the child
 nodes of all query hits from the given parents.parents - the parent query hits.session - the session that executes the query.IOException - if an error occurs while reading from
                     parentspublic void close()
           throws IOException
close in interface CloseableHitsclose in class AbstractQueryHitsIOException - if an error occurs while releasing resources.public ScoreNode nextScoreNode() throws IOException
null if
 there are no more score nodes.IOException - if an error occurs while reading from the index.Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.