public class EquiJoin extends AbstractCondition
EquiJoin implements an equi join condition.inner| Constructor and Description |
|---|
EquiJoin(MultiColumnQueryHits inner,
int innerScoreNodeIndex,
NamespaceMappings nsMappings,
org.apache.lucene.index.IndexReader reader,
org.apache.jackrabbit.spi.Name innerProperty,
org.apache.jackrabbit.spi.Name outerProperty)
Creates a new equi join condition.
|
| Modifier and Type | Method and Description |
|---|---|
ScoreNode[][] |
getMatchingScoreNodes(ScoreNode outer)
Returns the matching inner score nodes for the given outer score node
sn. |
close, getIndex, getInnerSelectorNamespublic EquiJoin(MultiColumnQueryHits inner, int innerScoreNodeIndex, NamespaceMappings nsMappings, org.apache.lucene.index.IndexReader reader, org.apache.jackrabbit.spi.Name innerProperty, org.apache.jackrabbit.spi.Name outerProperty) throws IOException, org.apache.jackrabbit.spi.commons.conversion.IllegalNameException
inner - the inner query hits.innerScoreNodeIndex - the selector name for the inner query hits.nsMappings - the namespace mappingsreader - the index reader.innerProperty - the name of the property of the inner query
hits.outerProperty - the name of the property of the outer query
hits.IOException - if an error occurs while reading from the index.org.apache.jackrabbit.spi.commons.conversion.IllegalNameExceptionpublic ScoreNode[][] getMatchingScoreNodes(ScoreNode outer) throws IOException
sn.outer - the current score nodes of the outer source.IOException - if an error occurs while evaluating the condition.Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.