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 BetweenPredicatebuild()Creates a new instance of[NOT] BETWEENpredicate class.BetweenPredicate.Builderend(ValueExpression end)Adds the end expression of predicate.BetweenPredicate.Builderexpression(ValueExpression expression)Adds the left expression of predicate.BetweenPredicate.Buildernot()SetsNOT BETWEENpredicate.BetweenPredicate.Builderstart(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:
thisfor fluent programming
-
start
public BetweenPredicate.Builder start(ValueExpression start)
Adds the start expression of predicate.- Parameters:
start- start expression in predicate- Returns:
thisfor fluent programming
-
end
public BetweenPredicate.Builder end(ValueExpression end)
Adds the end expression of predicate.- Parameters:
end- end expression in predicate- Returns:
thisfor fluent programming
-
not
public BetweenPredicate.Builder not()
SetsNOT BETWEENpredicate.- Returns:
thisfor fluent programming
-
build
public BetweenPredicate build()
Creates a new instance of[NOT] BETWEENpredicate class.- Returns:
- new instance of
BetweenPredicate
-
-