Class DescendantNodeJoin
- java.lang.Object
- 
- org.apache.jackrabbit.core.query.lucene.join.AbstractCondition
- 
- org.apache.jackrabbit.core.query.lucene.join.DescendantNodeJoin
 
 
- 
- All Implemented Interfaces:
- Condition
 
 public class DescendantNodeJoin extends AbstractCondition DescendantNodeJoinimplements a descendant node join condition.
- 
- 
Field Summary- 
Fields inherited from class org.apache.jackrabbit.core.query.lucene.join.AbstractConditioninner
 
- 
 - 
Constructor SummaryConstructors Constructor Description DescendantNodeJoin(MultiColumnQueryHits context, Name contextSelectorName, IndexReader reader, HierarchyResolver resolver)Creates a new descendant node join condition.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ScoreNode[][]getMatchingScoreNodes(ScoreNode descendant)Returns the matching inner score nodes for the given outer score nodesn.- 
Methods inherited from class org.apache.jackrabbit.core.query.lucene.join.AbstractConditionclose, getIndex, getInnerSelectorNames
 
- 
 
- 
- 
- 
Constructor Detail- 
DescendantNodeJoinpublic DescendantNodeJoin(MultiColumnQueryHits context, Name contextSelectorName, IndexReader reader, HierarchyResolver resolver) throws IOException Creates a new descendant node join condition.- Parameters:
- context- the inner query hits.
- contextSelectorName- the selector name for the inner query hits.
- reader- the index reader.
- resolver- the hierarchy resolver.
- Throws:
- IOException- if an error occurs while reading fromt the index.
 
 
- 
 - 
Method Detail- 
getMatchingScoreNodespublic ScoreNode[][] getMatchingScoreNodes(ScoreNode descendant) throws IOException Returns the matching inner score nodes for the given outer score nodesn.The outer query hits loop contains the descendant nodes. - Parameters:
- descendant- the current score nodes of the outer source.
- Returns:
- the matching score nodes in the inner source.
- Throws:
- IOException- if an error occurs while evaluating the condition.
 
 
- 
 
-