public abstract class JavaxTimeLiteral extends StringTemporalExpression implements SQLLiteral
SQLExpression.ColumnExpressionListdelegateLOCALISER, lowestOperator, mapping, parameterName, st, stmt, subExprs, table| Constructor and Description |
|---|
JavaxTimeLiteral(SQLStatement stmt,
JavaTypeMapping mapping,
String parameterName)
Constructor for a javax.time literal with a value.
|
| Modifier and Type | Method and Description |
|---|---|
BooleanExpression |
eq(SQLExpression expr)
Equality operator (equals to)
|
BooleanExpression |
ge(SQLExpression expr)
Relational operator (greater than or equals)
|
BooleanExpression |
gt(SQLExpression expr)
Relational operator (greater than)
|
boolean |
isParameter() |
BooleanExpression |
le(SQLExpression expr)
Relational operator (lower than or equals)
|
BooleanExpression |
lt(SQLExpression expr)
Relational operator (lower than)
|
BooleanExpression |
ne(SQLExpression expr)
Not equality operator (not equals to)
|
void |
setNotParameter()
Method to set this literal as not being a parameter.
|
add, div, getDelegate, invoke, mod, mul, sub, toSQLTextand, cast, com, distinct, encloseInParentheses, eor, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, in, ior, is, neg, not, setJavaTypeMappingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValuepublic JavaxTimeLiteral(SQLStatement stmt, JavaTypeMapping mapping, String parameterName)
stmt - the SQL statementmapping - the mappingparameterName - Name of the parameter that this represents if any (as JDBC "?")public BooleanExpression eq(SQLExpression expr)
SQLExpressioneq in class DelegatedExpressionexpr - the right-hand operandpublic BooleanExpression ge(SQLExpression expr)
SQLExpressionge in class DelegatedExpressionexpr - the right-hand operandpublic BooleanExpression gt(SQLExpression expr)
SQLExpressiongt in class DelegatedExpressionexpr - the right-hand operandpublic BooleanExpression le(SQLExpression expr)
SQLExpressionle in class DelegatedExpressionexpr - the right-hand operandpublic BooleanExpression lt(SQLExpression expr)
SQLExpressionlt in class DelegatedExpressionexpr - the right-hand operandpublic BooleanExpression ne(SQLExpression expr)
SQLExpressionne in class DelegatedExpressionexpr - the right-hand operandpublic boolean isParameter()
isParameter in class SQLExpressionpublic void setNotParameter()
SQLLiteralsetNotParameter in interface SQLLiteralCopyright © 2013. All Rights Reserved.