public abstract class AbstractCondition extends Object implements Condition
AbstractCondition
is a base class for join conditions.Modifier and Type | Field and Description |
---|---|
protected MultiColumnQueryHits |
inner
The inner query hits.
|
Constructor and Description |
---|
AbstractCondition(MultiColumnQueryHits inner)
Creates a new join condition with the given
inner query
hits. |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this join condition and frees resources.
|
protected static int |
getIndex(MultiColumnQueryHits source,
Name selectorName)
Returns the index of the selector with the given
selectorName
within the given source . |
Name[] |
getInnerSelectorNames() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMatchingScoreNodes
protected final MultiColumnQueryHits inner
public AbstractCondition(MultiColumnQueryHits inner)
inner
query
hits.inner
- the inner query hits.public Name[] getInnerSelectorNames()
getInnerSelectorNames
in interface Condition
public void close() throws IOException
close
in interface Condition
IOException
- if an error occurs while closing the inner query
hits.protected static int getIndex(MultiColumnQueryHits source, Name selectorName)
selectorName
within the given source
.source
- a source.selectorName
- a selector name.-1
if the name does
not exist in source
.Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.