Class BetweenPredicate.Builder
- java.lang.Object
-
- com.exasol.sql.expression.predicate.BetweenPredicate.Builder
-
- Enclosing class:
- BetweenPredicate
public static class BetweenPredicate.Builder extends Object
A builder forBetweenPredicate
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BetweenPredicate
build()
Creates a new instance of[NOT] BETWEEN
predicate class.BetweenPredicate.Builder
end(ValueExpression end)
Adds the end expression of predicate.BetweenPredicate.Builder
expression(ValueExpression expression)
Adds the left expression of predicate.BetweenPredicate.Builder
not()
SetsNOT BETWEEN
predicate.BetweenPredicate.Builder
start(ValueExpression start)
Adds the start expression of predicate.
-
-
-
Method Detail
-
expression
public BetweenPredicate.Builder expression(ValueExpression expression)
Adds the left expression of predicate.- Parameters:
expression
- in predicate expression- Returns:
this
for fluent programming
-
start
public BetweenPredicate.Builder start(ValueExpression start)
Adds the start expression of predicate.- Parameters:
start
- start expression in predicate- Returns:
this
for fluent programming
-
end
public BetweenPredicate.Builder end(ValueExpression end)
Adds the end expression of predicate.- Parameters:
end
- end expression in predicate- Returns:
this
for fluent programming
-
not
public BetweenPredicate.Builder not()
SetsNOT BETWEEN
predicate.- Returns:
this
for fluent programming
-
build
public BetweenPredicate build()
Creates a new instance of[NOT] BETWEEN
predicate class.- Returns:
- new instance of
BetweenPredicate
-
-