Package org.teiid.language
Class Exists
- java.lang.Object
-
- org.teiid.language.BaseLanguageObject
-
- org.teiid.language.Condition
-
- org.teiid.language.Exists
-
- All Implemented Interfaces:
Expression
,LanguageObject
,Predicate
,SubqueryContainer
public class Exists extends Condition implements Predicate, SubqueryContainer
Represents an EXISTS criteria that checks whether any results would be returned from a subquery.
-
-
Constructor Summary
Constructors Constructor Description Exists(QueryExpression query)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptVisitor(LanguageObjectVisitor visitor)
QueryExpression
getSubquery()
Get the inner subqueryvoid
setSubquery(QueryExpression query)
Set the inner subquery-
Methods inherited from class org.teiid.language.Condition
getType, isExpression, setExpression
-
Methods inherited from class org.teiid.language.BaseLanguageObject
toString
-
-
-
-
Constructor Detail
-
Exists
public Exists(QueryExpression query)
-
-
Method Detail
-
getSubquery
public QueryExpression getSubquery()
Description copied from interface:SubqueryContainer
Get the inner subquery- Specified by:
getSubquery
in interfaceSubqueryContainer
- Returns:
- Subquery
-
acceptVisitor
public void acceptVisitor(LanguageObjectVisitor visitor)
- Specified by:
acceptVisitor
in interfaceLanguageObject
-
setSubquery
public void setSubquery(QueryExpression query)
Description copied from interface:SubqueryContainer
Set the inner subquery- Specified by:
setSubquery
in interfaceSubqueryContainer
- Parameters:
query
- Subquery
-
-