Class TypeConverterMultiLiteral
java.lang.Object
org.datanucleus.store.rdbms.sql.expression.SQLExpression
org.datanucleus.store.rdbms.sql.expression.ObjectExpression
org.datanucleus.store.rdbms.sql.expression.TypeConverterMultiExpression
org.datanucleus.store.rdbms.sql.expression.TypeConverterMultiLiteral
- All Implemented Interfaces:
SQLLiteral
Literal for an object persisted using TypeConverterMultiMapping.
-
Nested Class Summary
Nested classes/interfaces inherited from class SQLExpression
SQLExpression.ColumnExpressionList -
Field Summary
FieldsFields inherited from class SQLExpression
lowestOperator, mapping, parameterName, st, stmt, subExprs, table -
Constructor Summary
ConstructorsConstructorDescriptionTypeConverterMultiLiteral(SQLStatement stmt, JavaTypeMapping mapping, Object value, String parameterName) -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Accessor to the literal valuevoidMethod to set this literal as not being a parameter.Methods inherited from class TypeConverterMultiExpression
invokeMethods inherited from class ObjectExpression
addSubexpressionsToRelatedExpression, cast, eq, ge, gt, in, is, le, lt, ne, processComparisonOfImplementationWithReference, useFirstColumnOnlyMethods inherited from class SQLExpression
add, and, bitAnd, bitOr, com, distinct, div, encloseInParentheses, eor, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, ior, isParameter, mod, mul, neg, not, setJavaTypeMapping, sub, toSQLText, unDistinct
-
Field Details
-
value
Object value
-
-
Constructor Details
-
TypeConverterMultiLiteral
public TypeConverterMultiLiteral(SQLStatement stmt, JavaTypeMapping mapping, Object value, String parameterName)
-
-
Method Details
-
getValue
Description copied from interface:SQLLiteralAccessor to the literal value- Specified by:
getValuein interfaceSQLLiteral- Returns:
- the value of the literal
-
setNotParameter
public void setNotParameter()Description copied from interface:SQLLiteralMethod to set this literal as not being a parameter. If the literal if not currently a parameter then does nothing. Updates any underlying SQL to have the value.- Specified by:
setNotParameterin interfaceSQLLiteral
-