|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.query.sql.lang.Criteria
com.metamatrix.query.sql.lang.PredicateCriteria
com.metamatrix.query.sql.lang.AbstractSetCriteria
com.metamatrix.query.sql.lang.DependentSetCriteria
public class DependentSetCriteria
The DependentSetCriteria is missing the value set until it is filled during processing. This allows a criteria to contain a dynamic set of values provided by a separate processing node.
| Constructor Summary | |
|---|---|
DependentSetCriteria(Expression expr)
Construct with the left expression |
|
| Method Summary | |
|---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor. |
java.lang.Object |
clone()
Deep copy of object. |
boolean |
equals(java.lang.Object obj)
Override equals() method. |
Expression |
getValueExpression()
Get the independent value expression |
ValueIterator |
getValueIterator()
Returns a ValueIterator to obtain the values in this IN criteria's value set. |
ValueIteratorSource |
getValueIteratorSource()
Get the valute iterator source, which will provide the iterator when it is ready during processing. |
int |
hashCode()
Get hash code. |
void |
setValueExpression(Expression valueExpression)
Set the independent value expression |
void |
setValueIterator(ValueIterator valueIterator)
This method is not supported for DependentSetCriteria as it will obtain it's value iterators for the ValueIteratorSource. |
void |
setValueIteratorSource(ValueIteratorSource valueIteratorSource)
Set the value iterator source, which will provide value iterators during processing. |
| Methods inherited from class com.metamatrix.query.sql.lang.AbstractSetCriteria |
|---|
getExpression, isNegated, setExpression, setNegated |
| Methods inherited from class com.metamatrix.query.sql.lang.Criteria |
|---|
combineCriteria, combineCriteria, combineCriteria, separateCriteriaByAnd, toConjunctiveNormalForm, toDisjunctiveNormalForm, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DependentSetCriteria(Expression expr)
| Method Detail |
|---|
public ValueIteratorSource getValueIteratorSource()
public void setValueIteratorSource(ValueIteratorSource valueIteratorSource)
valueIteratorSource - The valueIteratorSource to set.public Expression getValueExpression()
public void setValueExpression(Expression valueExpression)
valueExpression - The valueExpression to set.public ValueIterator getValueIterator()
getValueIterator in interface ValueIteratorProvidergetValueIterator in class AbstractSetCriteriaMetaMatrixRuntimeException - if the subquery for this set criteria
has not yet been processed and no value iterator is availableAbstractSetCriteria.getValueIterator()public void acceptVisitor(LanguageVisitor visitor)
LanguageObject
visitor - Visitor being usedpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - Other object
public java.lang.Object clone()
clone in interface LanguageObjectclone in class AbstractSetCriteriapublic void setValueIterator(ValueIterator valueIterator)
setValueIterator in interface ValueIteratorProvidersetValueIterator in class AbstractSetCriteriavalueIterator - an instance of ValueIterator to be set
on this ValueIterator provider (as in the case of subquery
containers whose results are provided externally).
java.lang.UnsupportedOperationException - AlwaysAbstractSetCriteria.setValueIterator(com.metamatrix.query.sql.util.ValueIterator)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||