Class ExistsPredicate
- java.lang.Object
-
- com.exasol.sql.expression.predicate.AbstractPredicate
-
- com.exasol.sql.expression.predicate.ExistsPredicate
-
- All Implemented Interfaces:
BooleanExpression
,Predicate
,ValueExpression
public class ExistsPredicate extends AbstractPredicate
A class that represents aEXISTS
predicate.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExistsPredicate.ExistsPredicateOperator
An operator forExistsPredicate
class.
-
Constructor Summary
Constructors Constructor Description ExistsPredicate(Select selectQuery)
Creates a new instance ofExistsPredicate
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(PredicateVisitor visitor)
AcceptsPredicateVisitor
.Select
getSelectQuery()
Returns the sub select query in theEXISTS
predicate.-
Methods inherited from class com.exasol.sql.expression.predicate.AbstractPredicate
accept, accept, getOperator
-
-
-
-
Constructor Detail
-
ExistsPredicate
public ExistsPredicate(Select selectQuery)
Creates a new instance ofExistsPredicate
.- Parameters:
selectQuery
- sub select query
-
-
Method Detail
-
getSelectQuery
public Select getSelectQuery()
Returns the sub select query in theEXISTS
predicate.- Returns:
- sub select query
-
accept
public void accept(PredicateVisitor visitor)
Description copied from interface:Predicate
AcceptsPredicateVisitor
.- Parameters:
visitor
- predicate visitor to accept
-
-