| Modifier and Type | Method and Description |
|---|---|
BooleanExpression |
OnClause.getCondition()
Get the merge condition.
|
| Modifier and Type | Method and Description |
|---|---|
Merge |
Merge.on(BooleanExpression condition)
Define the merge criteria.
|
Merge |
MergeMethodDefinition.where(BooleanExpression expression)
Add a
WHERE clause MERGE definition. |
Merge |
MergeInsertClause.where(BooleanExpression expression)
Add a
WHERE clause insertion definition. |
| Constructor and Description |
|---|
OnClause(Fragment root,
BooleanExpression condition)
Create a new instance of a
OnClause. |
| Modifier and Type | Method and Description |
|---|---|
BooleanExpression |
WhereClause.getExpression()
Get the boolean expression defining the filter criteria
|
BooleanExpression |
GroupByClause.getHavingBooleanExpression()
Get the "having" boolean expression.
|
| Modifier and Type | Method and Description |
|---|---|
Select |
GroupByClause.having(BooleanExpression booleanExpression)
Add having statement to the SQL query.
|
Select |
Select.where(BooleanExpression expression)
Create a new
WhereClause. |
| Constructor and Description |
|---|
WhereClause(SqlStatement root,
BooleanExpression expression)
Create a new instance of a
WhereClause |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBooleanExpression
Abstract base class for all types of BooleanExpressions.
|
class |
And
This class represents a logical AND predicate.
|
class |
BooleanTerm |
class |
Not
This class implements the logical unary NOT predicate.
|
class |
Or
This class represents a logical OR predicate.
|
| Modifier and Type | Method and Description |
|---|---|
static BooleanExpression |
BooleanTerm.and(boolean... values) |
static BooleanExpression |
BooleanTerm.and(boolean value,
BooleanExpression expression) |
static BooleanExpression |
BooleanTerm.and(BooleanExpression... expressions) |
static BooleanExpression |
BooleanTerm.and(BooleanExpression expression,
boolean value) |
static BooleanExpression |
BooleanTerm.between(ValueExpression expression,
ValueExpression start,
ValueExpression end) |
static BooleanExpression |
BooleanTerm.compare(ValueExpression left,
SimpleComparisonOperator operator,
ValueExpression right) |
static BooleanExpression |
BooleanTerm.compare(ValueExpression left,
String operatorSymbol,
ValueExpression right) |
static BooleanExpression |
BooleanTerm.eq(ValueExpression left,
ValueExpression right) |
static BooleanExpression |
BooleanTerm.exists(Select select) |
static BooleanExpression |
BooleanTerm.ge(ValueExpression left,
ValueExpression right) |
BooleanExpression |
Not.getOperand()
Get the boolean expression literal to be negated.
|
static BooleanExpression |
BooleanTerm.gt(ValueExpression left,
ValueExpression right) |
static BooleanExpression |
BooleanTerm.in(ValueExpression operand,
Select select) |
static BooleanExpression |
BooleanTerm.in(ValueExpression operand,
ValueExpression... operands) |
static BooleanExpression |
BooleanTerm.isNotNull(ValueExpression operand) |
static BooleanExpression |
BooleanTerm.isNull(ValueExpression operand) |
static BooleanExpression |
BooleanTerm.le(ValueExpression left,
ValueExpression right) |
static BooleanExpression |
BooleanTerm.like(ValueExpression left,
ValueExpression right) |
static BooleanExpression |
BooleanTerm.like(ValueExpression left,
ValueExpression right,
char escape) |
static BooleanExpression |
BooleanTerm.lt(ValueExpression left,
ValueExpression right) |
static BooleanExpression |
BooleanTerm.ne(ValueExpression left,
ValueExpression right) |
static BooleanExpression |
BooleanTerm.not(boolean value) |
static BooleanExpression |
BooleanTerm.not(BooleanExpression expression) |
static BooleanExpression |
BooleanTerm.notBetween(ValueExpression expression,
ValueExpression start,
ValueExpression end) |
static BooleanExpression |
BooleanTerm.notIn(ValueExpression operand,
Select select) |
static BooleanExpression |
BooleanTerm.notIn(ValueExpression operand,
ValueExpression... operands) |
static BooleanExpression |
BooleanTerm.notLike(ValueExpression left,
ValueExpression right) |
static BooleanExpression |
BooleanTerm.notLike(ValueExpression left,
ValueExpression right,
char escape) |
static BooleanExpression |
BooleanTerm.operation(String operator,
BooleanExpression... expressions)
Create a logical operation from an operator name and a list of operands
|
static BooleanExpression |
BooleanTerm.or(boolean... values) |
static BooleanExpression |
BooleanTerm.or(boolean value,
BooleanExpression expression) |
static BooleanExpression |
BooleanTerm.or(BooleanExpression... expressions) |
static BooleanExpression |
BooleanTerm.or(BooleanExpression expression,
boolean value) |
| Modifier and Type | Method and Description |
|---|---|
List<BooleanExpression> |
Or.getOperands()
Get the operands of this OR.
|
List<BooleanExpression> |
And.getOperands()
Get the operands of this AND.
|
| Modifier and Type | Method and Description |
|---|---|
static BooleanExpression |
BooleanTerm.and(boolean value,
BooleanExpression expression) |
static BooleanExpression |
BooleanTerm.and(BooleanExpression... expressions) |
static BooleanExpression |
BooleanTerm.and(BooleanExpression expression,
boolean value) |
static BooleanExpression |
BooleanTerm.not(BooleanExpression expression) |
static BooleanExpression |
BooleanTerm.operation(String operator,
BooleanExpression... expressions)
Create a logical operation from an operator name and a list of operands
|
static BooleanExpression |
BooleanTerm.or(boolean value,
BooleanExpression expression) |
static BooleanExpression |
BooleanTerm.or(BooleanExpression... expressions) |
static BooleanExpression |
BooleanTerm.or(BooleanExpression expression,
boolean value) |
void |
ValueExpressionVisitor.visit(BooleanExpression booleanExpression) |
| Constructor and Description |
|---|
And(BooleanExpression... operands)
Create a new
And instance |
Not(BooleanExpression operand)
Create a new instance of a unary
Not from a boolean expression |
Or(BooleanExpression... operands)
Create a new
Or instance |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Comparison
Interface for classes that implement comparisons between two columns.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractComparison
Abstract basis for comparisons.
|
class |
LikeComparison
This class represents a LIKE comparison.
|
class |
SimpleComparison
This class implements all simple comparison operators.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanLiteral
This class represents boolean literals (read "true" and "false")
|
| Modifier and Type | Method and Description |
|---|---|
static BooleanExpression[] |
BooleanLiteral.toBooleanExpressions(boolean[] values)
Map an array of booleans to and array of BooleanExpressions
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Predicate
Interface for classes that implement predicate expressions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPredicate
An abstract basis for predicate classes.
|
class |
BetweenPredicate
A class that represents a
[NOT] BETWEEN predicate. |
class |
ExistsPredicate
A class that represents a
EXISTS predicate. |
class |
InPredicate
A class that represents a
[NOT] IN predicate. |
class |
IsNullPredicate
A class that represents a
IS [NOT] NULL predicate. |
| Modifier and Type | Method and Description |
|---|---|
void |
ValueExpressionRenderer.visit(BooleanExpression booleanExpression) |
Copyright © 2018–2021. All rights reserved.