public class AncestorPathNodeJoin extends AbstractCondition
AncestorPathNodeJoin implements an ancestor path node join
condition.inner| Constructor and Description |
|---|
AncestorPathNodeJoin(MultiColumnQueryHits context,
Name contextSelectorName,
Path relPath,
HierarchyManager hmgr)
Creates an ancestor path node join.
|
| Modifier and Type | Method and Description |
|---|---|
ScoreNode[][] |
getMatchingScoreNodes(ScoreNode ancestor)
Returns the matching inner score nodes for the given outer score node
sn. |
close, getIndex, getInnerSelectorNamespublic AncestorPathNodeJoin(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 of the workspace.IOException - if an error occurs while reading from the index.public ScoreNode[][] getMatchingScoreNodes(ScoreNode ancestor) throws IOException
sn.
The outer query hits loop contains the ancestor nodes.
ancestor - the current score nodes of the outer source.IOException - if an error occurs while evaluating the condition.Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.