public abstract class DelegatedExpression extends SQLExpression
SQLExpression.ColumnExpressionList
Modifier and Type | Field and Description |
---|---|
protected SQLExpression |
delegate
The delegate expression that we use.
|
lowestOperator, mapping, parameterName, st, stmt, subExprs, table
Constructor and Description |
---|
DelegatedExpression(SQLStatement stmt,
SQLTable table,
JavaTypeMapping mapping) |
Modifier and Type | Method and Description |
---|---|
SQLExpression |
add(SQLExpression expr)
Additive Operator.
|
SQLExpression |
div(SQLExpression expr)
Division Operator.
|
BooleanExpression |
eq(SQLExpression expr)
Equality operator (equals to)
|
BooleanExpression |
ge(SQLExpression expr)
Relational operator (greater than or equals)
|
SQLExpression |
getDelegate()
Accessor for the delegate that represents this enum.
|
BooleanExpression |
gt(SQLExpression expr)
Relational operator (greater than)
|
SQLExpression |
invoke(String methodName,
List args)
Invocation of a method on this expression.
|
boolean |
isParameter() |
BooleanExpression |
le(SQLExpression expr)
Relational operator (lower than or equals)
|
BooleanExpression |
lt(SQLExpression expr)
Relational operator (lower than)
|
SQLExpression |
mod(SQLExpression expr)
Remainder Operator.
|
SQLExpression |
mul(SQLExpression expr)
Multiplication Operator
|
BooleanExpression |
ne(SQLExpression expr)
Not equality operator (not equals to)
|
SQLExpression |
sub(SQLExpression expr)
Additive Operator.
|
SQLText |
toSQLText()
Method to return the SQL form of this expression.
|
and, cast, com, distinct, encloseInParentheses, eor, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, in, ior, is, neg, not, setJavaTypeMapping
protected SQLExpression delegate
public DelegatedExpression(SQLStatement stmt, SQLTable table, JavaTypeMapping mapping)
public BooleanExpression eq(SQLExpression expr)
SQLExpression
eq
in class SQLExpression
expr
- the right-hand operandpublic BooleanExpression ne(SQLExpression expr)
SQLExpression
ne
in class SQLExpression
expr
- the right-hand operandpublic SQLExpression add(SQLExpression expr)
SQLExpression
add
in class SQLExpression
expr
- the right-hand operandpublic SQLExpression div(SQLExpression expr)
SQLExpression
div
in class SQLExpression
expr
- the right-hand operatorpublic BooleanExpression ge(SQLExpression expr)
SQLExpression
ge
in class SQLExpression
expr
- the right-hand operandpublic BooleanExpression gt(SQLExpression expr)
SQLExpression
gt
in class SQLExpression
expr
- the right-hand operandpublic BooleanExpression le(SQLExpression expr)
SQLExpression
le
in class SQLExpression
expr
- the right-hand operandpublic BooleanExpression lt(SQLExpression expr)
SQLExpression
lt
in class SQLExpression
expr
- the right-hand operandpublic SQLExpression mod(SQLExpression expr)
SQLExpression
mod
in class SQLExpression
expr
- the right-hand operatorpublic SQLExpression mul(SQLExpression expr)
SQLExpression
mul
in class SQLExpression
expr
- the right-hand operatorpublic SQLExpression sub(SQLExpression expr)
SQLExpression
sub
in class SQLExpression
expr
- the right-hand operandpublic SQLExpression invoke(String methodName, List args)
SQLExpression
invoke
in class SQLExpression
methodName
- name of the method to invokeargs
- Args to this method (if any)public SQLText toSQLText()
SQLExpression
toSQLText
in class SQLExpression
public SQLExpression getDelegate()
public boolean isParameter()
isParameter
in class SQLExpression
Copyright © 2015. All rights reserved.