|
||||||||||
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 ContextReference
public Expression getValueExpression()
getValueExpression
in interface ContextReference
public Command getCommand()
SubqueryContainer
getCommand
in interface SubqueryContainer
com.metamatrix.query.sql.lang.SubqueryCriteria#getCommand()
public void setCommand(Command subqueryCommand)
SubqueryContainer
setCommand
in interface SubqueryContainer
subqueryCommand
- the subquery Command objectpublic void acceptVisitor(LanguageVisitor visitor)
LanguageObject
acceptVisitor
in interface LanguageObject
visitor
- Visitor being usedpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Other object
public java.lang.Object clone()
clone
in interface LanguageObject
clone
in class PredicateCriteria
Object.clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |