| 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.
|
| 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 |
AbstractValueExpression
Abstract base class for all types of value expressions
|
class |
And
This class represents
|
class |
BinaryArithmeticExpression
This class represents a binary arithmetic expression.
|
class |
BooleanLiteral
This class represents boolean literals (read "true" and "false")
|
class |
BooleanTerm |
class |
ColumnReference
This class represents column reference.
|
class |
Comparison |
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 |
DoubleLiteral
This class represents double literals.
|
class |
ExpressionTerm
Static factory methods for SQL expressions.
|
class |
FloatLiteral
This class represents float literals.
|
class |
IntegerLiteral
This class represents integer literals.
|
class |
LongLiteral
This class represents long literals.
|
class |
Not
This class implements the logical unary NOT
|
class |
NullLiteral
This class represents a null literal.
|
class |
Or
This class represents
|
class |
StringLiteral
This class represents string literals (or character literals in SQL terms).
|
| Modifier and Type | Method and Description |
|---|---|
static ValueExpression |
DefaultValue.defaultValue() |
ValueExpression |
BinaryArithmeticExpression.getLeft()
Get a left operand of the arithmetic expression.
|
ValueExpression |
Comparison.getLeftOperand()
Get the left-hand side operator of the comparison
|
ValueExpression |
BinaryArithmeticExpression.getRight()
Get a right operand of the arithmetic expression.
|
ValueExpression |
Comparison.getRightOperand()
Get the right-hand side operator of the comparison
|
| Modifier and Type | Method and Description |
|---|---|
static BooleanExpression |
BooleanTerm.compare(ValueExpression left,
ComparisonOperator 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.le(ValueExpression left,
ValueExpression right) |
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 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.
|
| Constructor and Description |
|---|
Comparison(ComparisonOperator equal,
ValueExpression leftOperand,
ValueExpression rightOperand) |
| 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.valueExpressions |
| Constructor and Description |
|---|
AbstractFunction(String functionName,
List<ValueExpression> valueExpressions)
Create a new instance using
AbstractFunction. |
| Modifier and Type | Class and Description |
|---|---|
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 |
|---|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractExpressionRenderer.appendCommaWhenNeeded(ValueExpression valueExpression) |
protected void |
ValueExpressionRenderer.appendOperand(ValueExpression operand) |
protected void |
BooleanExpressionRenderer.appendOperand(ValueExpression leftOperand) |
protected void |
AbstractExpressionRenderer.setLastVisited(ValueExpression valueExpression) |
| 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–2020. All rights reserved.