Interface Condition
-
- All Known Implementing Classes:
AbstractCondition,AncestorNodeJoin,AncestorPathNodeJoin,ChildNodeJoin,DescendantNodeJoin,DescendantPathNodeJoin,EquiJoin,ParentNodeJoin,SameNodeJoin
public interface ConditionConditiondefines an interface for a join condition.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes this condition and frees resources.Name[]getInnerSelectorNames()ScoreNode[][]getMatchingScoreNodes(ScoreNode outer)Returns the matching inner score nodes for the given outer score nodesn.
-
-
-
Method Detail
-
getMatchingScoreNodes
ScoreNode[][] getMatchingScoreNodes(ScoreNode outer) throws IOException
Returns the matching inner score nodes for the given outer score nodesn.- Parameters:
outer- 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.
-
getInnerSelectorNames
Name[] getInnerSelectorNames()
- Returns:
- the selector name of the inner hits.
-
close
void close() throws IOExceptionCloses this condition and frees resources.- Throws:
IOException- if an error occurs while closing this condition.
-
-