| Modifier and Type | Class and Description |
|---|---|
class |
UnnamedPlaceholder
This class implements a nameless placeholder ("?") in an SQL statement
|
| Modifier and Type | Method and Description |
|---|---|
ValueExpression |
DerivedColumn.getValueExpression()
Get a value expression that belongs to this derived column.
|
| Modifier and Type | Method and Description |
|---|---|
List<ValueExpression> |
ValueTableRow.getExpressions()
Get the list of expressions the row consists of.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ValueTable.add(ValueExpression... expressions)
Add a list of value expressions to the last row of the value table.
|
| Modifier and Type | Method and Description |
|---|---|
ValueTableRow.Builder |
ValueTableRow.Builder.add(List<ValueExpression> expressions)
Add a list of expressions to the
ValueTableRow. |
| Constructor and Description |
|---|
DerivedColumn(Fragment root,
ValueExpression valueExpression)
Create a new instance of a
DerivedColumn. |
DerivedColumn(Fragment root,
ValueExpression valueExpression,
String derivedColumnName)
Create a new instance of a
DerivedColumn. |
ValueTableRow(Fragment root,
ValueExpression... expressions)
Create a value table row from a list of expressions.
|
| Modifier and Type | Method and Description |
|---|---|
T |
AbstractInsertValueTable.values(ValueExpression... expressions)
Insert a list of value expressions.
|
| Modifier and Type | Method and Description |
|---|---|
ValueExpression |
MergeColumnUpdate.getExpression()
Get the expression that serves as the value for the update.
|
| Modifier and Type | Method and Description |
|---|---|
MergeUpdateClause |
MergeUpdateClause.set(String column,
ValueExpression expression)
Update a column with a value expression.
|
| Constructor and Description |
|---|
MergeColumnUpdate(Fragment root,
String column,
ValueExpression expression)
Create a new instance of a
MergeColumnUpdate. |
| Modifier and Type | Method and Description |
|---|---|
Select |
Select.function(FunctionName functionName,
String derivedColumnName,
ValueExpression... valueExpressions)
Add a function.
|
Select |
Select.function(FunctionName functionName,
ValueExpression... valueExpressions)
Add a function.
|
Select |
Select.udf(String functionName,
ColumnsDefinition emitsColumnsDefinition,
ValueExpression... valueExpressions)
Add a User Defined Function.
|
Select |
Select.udf(String functionName,
ValueExpression... valueExpressions)
Add a User Defined Function.
|
Select |
Select.valueExpression(ValueExpression valueExpression)
Add a value expression.
|
Select |
Select.valueExpression(ValueExpression valueExpression,
String derivedColumnName)
Add a value expression expression.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
BooleanExpression
Common interface for all types of boolean expressions
|
| 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 |
BinaryArithmeticExpression
This class represents a binary arithmetic expression.
|
class |
BooleanTerm |
class |
ColumnReference
This class represents column reference.
|
class |
DefaultValue
The
DefaultValue is an expression that tells the database to take the default value for a column (in case it
is defined). |
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 ValueExpression |
DefaultValue.defaultValue() |
ValueExpression |
BinaryArithmeticExpression.getLeft()
Get a left operand of the arithmetic expression.
|
ValueExpression |
BinaryArithmeticExpression.getRight()
Get a right operand of the arithmetic expression.
|
| Modifier and Type | Method and Description |
|---|---|
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 BinaryArithmeticExpression |
ExpressionTerm.divide(ValueExpression left,
ValueExpression right)
Create a binary arithmetic expression with DIVIDE operator.
|
static BooleanExpression |
BooleanTerm.eq(ValueExpression left,
ValueExpression right) |
static Function |
ExpressionTerm.function(FunctionName functionName,
ValueExpression... valueExpressions)
Create an Exasol function.
|
static BooleanExpression |
BooleanTerm.ge(ValueExpression left,
ValueExpression right) |
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.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 BinaryArithmeticExpression |
ExpressionTerm.minus(ValueExpression left,
ValueExpression right)
Create a binary arithmetic expression with SUBTRACT operator.
|
static BinaryArithmeticExpression |
ExpressionTerm.multiply(ValueExpression left,
ValueExpression right)
Create a binary arithmetic expression with DIVIDE operator.
|
static BooleanExpression |
BooleanTerm.ne(ValueExpression left,
ValueExpression right) |
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.notIn(ValueExpression operand,
ValueExpression... operands) |
static BooleanExpression |
BooleanTerm.notLike(ValueExpression left,
ValueExpression right) |
static BooleanExpression |
BooleanTerm.notLike(ValueExpression left,
ValueExpression right,
char escape) |
static BinaryArithmeticExpression |
BinaryArithmeticExpression.of(BinaryArithmeticExpression.BinaryArithmeticOperator operator,
ValueExpression left,
ValueExpression right)
Create a new
BinaryArithmeticExpression instance. |
static BinaryArithmeticExpression |
ExpressionTerm.plus(ValueExpression left,
ValueExpression right)
Create a binary arithmetic expression with ADD operator.
|
static Function |
ExpressionTerm.udf(String functionName,
ColumnsDefinition emitsColumnsDefinition,
ValueExpression... valueExpressions)
Create a User Defined Function.
|
static Function |
ExpressionTerm.udf(String functionName,
ValueExpression... valueExpressions)
Create a User Defined Function.
|
| 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 | Field and Description |
|---|---|
protected ValueExpression |
AbstractComparison.leftOperand |
protected ValueExpression |
AbstractComparison.rightOperand |
| Modifier and Type | Method and Description |
|---|---|
ValueExpression |
AbstractComparison.getLeftOperand()
Get the left-hand side operator of the comparison
|
ValueExpression |
Comparison.getLeftOperand()
Get the left-hand side operator of the comparison
|
ValueExpression |
AbstractComparison.getRightOperand()
Get the right-hand side operator of the comparison
|
ValueExpression |
Comparison.getRightOperand()
Get the right-hand side operator of the comparison
|
| Modifier and Type | Method and Description |
|---|---|
LikeComparison.Builder |
LikeComparison.Builder.left(ValueExpression left)
Add the left operand.
|
LikeComparison.Builder |
LikeComparison.Builder.right(ValueExpression right)
Add the right operand.
|
| Constructor and Description |
|---|
AbstractComparison(ComparisonOperator comparisonOperator,
ValueExpression leftOperand,
ValueExpression rightOperand)
Create a new instance of
AbstractComparison. |
SimpleComparison(SimpleComparisonOperator comparisonOperator,
ValueExpression leftOperand,
ValueExpression rightOperand)
Create a new instance of SimpleComparison.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Function
This class represents a function in an SQL statement.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFunction
This is a base class for functions.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<ValueExpression> |
AbstractFunction.parameters |
| Modifier and Type | Method and Description |
|---|---|
List<ValueExpression> |
AbstractFunction.getParameters()
Get the value expressions (parameters of the function)
|
| Constructor and Description |
|---|
AbstractFunction(String functionName,
List<ValueExpression> parameters)
Create a new instance using
AbstractFunction. |
| Modifier and Type | Class and Description |
|---|---|
class |
CastExasolFunction
This class represents the Exasol CAST function.
|
class |
ExasolFunction
This class represents a function in the Exasol database.
|
class |
ExasolUdf
This class represents a User Defined Function in the Exasol database.
|
| Modifier and Type | Method and Description |
|---|---|
ValueExpression |
CastExasolFunction.getValue()
Get the value to cast.
|
| Modifier and Type | Method and Description |
|---|---|
static ExasolFunction |
ExasolFunction.of(FunctionName functionName,
ValueExpression... valueExpressions)
Create a new
ExasolFunction instance. |
static ExasolUdf |
ExasolUdf.of(String functionName,
ColumnsDefinition emitsColumnsDefinition,
ValueExpression... valueExpressions)
Create a new
ExasolUdf instance. |
static ExasolUdf |
ExasolUdf.of(String functionName,
ValueExpression... valueExpressions)
Create a new
ExasolUdf instance. |
static CastExasolFunction |
CastExasolFunction.of(ValueExpression valueExpression,
DataType type)
Create a new
CastExasolFunction instance. |
| Constructor and Description |
|---|
ExasolFunction(FunctionName functionName,
List<ValueExpression> valueExpressions) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Literal
Interface for classes that represent literal values.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractLiteral
Abstract basis for
Literals. |
class |
BigDecimalLiteral
This class represents BigDecimal literals.
|
class |
BooleanLiteral
This class represents boolean literals (read "true" and "false")
|
class |
DoubleLiteral
This class represents double literals.
|
class |
FloatLiteral
This class represents float literals.
|
class |
IntegerLiteral
This class represents integer literals.
|
class |
LongLiteral
This class represents long literals.
|
class |
NullLiteral
This class represents a null literal.
|
class |
StringLiteral
This class represents string literals (or character literals in SQL terms).
|
| 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 |
|---|---|
ValueExpression |
BetweenPredicate.getEndExpression()
Returns the end expression in the
[NOT] BETWEEN predicate. |
ValueExpression |
BetweenPredicate.getExpression()
Returns the left expression in the
[NOT] BETWEEN predicate. |
ValueExpression |
InPredicate.getExpression()
Returns the left expression in the
[NOT] IN predicate. |
ValueExpression |
IsNullPredicate.getOperand()
Returns the value expression to be checked for
null. |
ValueExpression |
BetweenPredicate.getStartExpression()
Returns the start expression in the
[NOT] BETWEEN predicate. |
| Modifier and Type | Method and Description |
|---|---|
List<ValueExpression> |
InPredicate.getOperands()
Returns the value expressions in the
[NOT] IN predicate. |
| Modifier and Type | Method and Description |
|---|---|
BetweenPredicate.Builder |
BetweenPredicate.Builder.end(ValueExpression end)
Adds the end expression of predicate.
|
BetweenPredicate.Builder |
BetweenPredicate.Builder.expression(ValueExpression expression)
Adds the left expression of predicate.
|
InPredicate.Builder |
InPredicate.Builder.expression(ValueExpression expression)
Adds the predicate expression.
|
InPredicate.Builder |
InPredicate.Builder.operands(ValueExpression... operands)
Adds the operands.
|
BetweenPredicate.Builder |
BetweenPredicate.Builder.start(ValueExpression start)
Adds the start expression of predicate.
|
| Constructor and Description |
|---|
IsNullPredicate(IsNullPredicate.IsNullPredicateOperator operator,
ValueExpression operand)
Creates a new instance of
IsNullPredicate for IS [NOT] NULL predicate. |
IsNullPredicate(ValueExpression operand)
Creates a new instance of
IsNullPredicate for IS NULL predicate. |
| Modifier and Type | Method and Description |
|---|---|
void |
ValueExpressionRenderer.visit(ValueExpression... valueExpressions) |
| Modifier and Type | Method and Description |
|---|---|
void |
ValueExpressionRenderer.visit(List<ValueExpression> valueExpressions) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractFragmentRenderer.appendRenderedValueExpression(ValueExpression expression) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractFragmentRenderer.appendListOfValueExpressions(List<? extends ValueExpression> valueExpressions) |
Copyright © 2018–2021. All rights reserved.