Class InPredicate.Builder
- java.lang.Object
-
- com.exasol.sql.expression.predicate.InPredicate.Builder
-
- Enclosing class:
- InPredicate
public static class InPredicate.Builder extends Object
A builder forInPredicate
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InPredicate
build()
Creates a new instance of[NOT] IN
predicate class.InPredicate.Builder
expression(ValueExpression expression)
Adds the predicate expression.InPredicate.Builder
not()
SetsNOT IN
predicate.InPredicate.Builder
operands(ValueExpression... operands)
Adds the operands.InPredicate.Builder
selectQuery(Select select)
Adds the sub select query.
-
-
-
Method Detail
-
expression
public InPredicate.Builder expression(ValueExpression expression)
Adds the predicate expression.- Parameters:
expression
- in predicate expression- Returns:
this
for fluent programming
-
operands
public InPredicate.Builder operands(ValueExpression... operands)
Adds the operands.- Parameters:
operands
- operands for[NOT] IN
predicate- Returns:
this
for fluent programming
-
selectQuery
public InPredicate.Builder selectQuery(Select select)
Adds the sub select query.- Parameters:
select
- sub select for[NOT] IN
predicate- Returns:
this
for fluent programming
-
not
public InPredicate.Builder not()
SetsNOT IN
predicate.- Returns:
this
for fluent programming
-
build
public InPredicate build()
Creates a new instance of[NOT] IN
predicate class.- Returns:
- new instance of
InPredicate
-
-