|
||||||||||
| 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.ExistsCriteria
public class ExistsCriteria
This predicate criteria implements the "exists" predicate, which has a subquery in it. For example, "EXISTS (Select EmployeeID FROM Employees WHERE EmployeeName = 'Smith')".
| Constructor Summary | |
|---|---|
ExistsCriteria()
Default constructor |
|
ExistsCriteria(Command subqueryCommand)
|
|
| 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. |
Command |
getCommand()
Returns the subquery Command object |
java.lang.String |
getContextSymbol()
|
Expression |
getValueExpression()
|
int |
hashCode()
Get hash code. |
void |
setCommand(Command subqueryCommand)
Sets the subquery Command object |
| 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 ExistsCriteria()
public ExistsCriteria(Command subqueryCommand)
| Method Detail |
|---|
public java.lang.String getContextSymbol()
getContextSymbol in interface ContextReferencepublic Expression getValueExpression()
getValueExpression in interface ContextReferencepublic Command getCommand()
SubqueryContainer
getCommand in interface SubqueryContainercom.metamatrix.query.sql.lang.SubqueryCriteria#getCommand()public void setCommand(Command subqueryCommand)
SubqueryContainer
setCommand in interface SubqueryContainersubqueryCommand - the subquery Command objectpublic void acceptVisitor(LanguageVisitor visitor)
LanguageObject
acceptVisitor in interface LanguageObjectvisitor - 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 PredicateCriteriaObject.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||