public class DescendantPathNodeJoin extends AbstractCondition
DescendantPathNodeJoin
implements a descendant path node join
condition.inner
Constructor and Description |
---|
DescendantPathNodeJoin(MultiColumnQueryHits context,
Name contextSelectorName,
Path relPath,
HierarchyManager hmgr)
Creates a new descendant path node join condition.
|
Modifier and Type | Method and Description |
---|---|
ScoreNode[][] |
getMatchingScoreNodes(ScoreNode descendant)
Returns the matching inner score nodes for the given outer score node
sn . |
close, getIndex, getInnerSelectorNames
public DescendantPathNodeJoin(MultiColumnQueryHits context, Name contextSelectorName, Path relPath, HierarchyManager hmgr) throws IOException
context
- the inner query hits.contextSelectorName
- the selector name for the inner query hits.relPath
- the relative path of the join condition.hmgr
- the hierarchy manager.IOException
- if an error occurs while reading from the index.public ScoreNode[][] getMatchingScoreNodes(ScoreNode descendant) throws IOException
sn
.
The outer query hits loop contains the descendant nodes.
descendant
- the current score nodes of the outer source.IOException
- if an error occurs while evaluating the condition.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.