public class TemporalLiteral extends TemporalExpression implements SQLLiteral
SQLExpression.ColumnExpressionListlowestOperator, mapping, parameterName, st, stmt, subExprs, table| Constructor and Description |
|---|
TemporalLiteral(SQLStatement stmt,
JavaTypeMapping mapping,
Object value,
String parameterName)
Constructor for a temporal literal with a value.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getValue()
Accessor to the literal value
|
SQLExpression |
invoke(String methodName,
List args)
Invocation of a method on this expression.
|
void |
setNotParameter()
Method to set this literal as not being a parameter.
|
protected void |
setStatement() |
String |
toString() |
add, eq, ge, gt, in, le, lt, ne, suband, bitAnd, bitOr, cast, com, distinct, div, encloseInParentheses, eor, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, ior, is, isParameter, mod, mul, neg, not, setJavaTypeMapping, toSQLTextpublic TemporalLiteral(SQLStatement stmt, JavaTypeMapping mapping, Object value, String parameterName)
stmt - the SQL statementmapping - the mappingvalue - the valueparameterName - Name of the parameter that this represents if any (as JDBC "?")public SQLExpression invoke(String methodName, List args)
SQLExpressioninvoke in class TemporalExpressionmethodName - name of the method to invokeargs - Args to this method (if any)public Object getValue()
SQLLiteralgetValue in interface SQLLiteralpublic void setNotParameter()
SQLLiteralsetNotParameter in interface SQLLiteralprotected void setStatement()
Copyright © 2019. All rights reserved.