public class ArrayLiteral extends ArrayExpression implements SQLLiteral
SQLExpression.ColumnExpressionList
elementExpressions
lowestOperator, mapping, parameterName, st, stmt, subExprs, table
Constructor and Description |
---|
ArrayLiteral(SQLStatement stmt,
JavaTypeMapping mapping,
Object value,
String parameterName)
Constructor for an array literal with a value.
|
Modifier and Type | Method and Description |
---|---|
Object |
getValue()
Accessor to the literal value
|
void |
setNotParameter()
Method to set this literal as not being a parameter.
|
protected void |
setStatement() |
eq, getElementExpressions, invoke, ne
add, and, cast, com, distinct, div, encloseInParentheses, eor, ge, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, gt, in, ior, is, isParameter, le, lt, mod, mul, neg, not, setJavaTypeMapping, sub, toSQLText
public ArrayLiteral(SQLStatement stmt, JavaTypeMapping mapping, Object value, String parameterName)
stmt
- The SQL statementmapping
- the mapping to usevalue
- the array valueparameterName
- Name of the parameter that this represents if any (as JDBC "?")public Object getValue()
SQLLiteral
getValue
in interface SQLLiteral
public void setNotParameter()
SQLLiteral
setNotParameter
in interface SQLLiteral
protected void setStatement()
Copyright © 2015. All rights reserved.