Class OptionalLiteral
- java.lang.Object
-
- org.datanucleus.store.rdbms.sql.expression.SQLExpression
-
- org.datanucleus.store.rdbms.sql.expression.DelegatedExpression
-
- org.datanucleus.store.rdbms.sql.expression.SingleCollectionExpression
-
- org.datanucleus.store.rdbms.sql.expression.OptionalExpression
-
- org.datanucleus.store.rdbms.sql.expression.OptionalLiteral
-
public class OptionalLiteral extends OptionalExpression
Literal for java.util.Optional.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
SQLExpression.ColumnExpressionList
-
-
Field Summary
-
Fields inherited from class org.datanucleus.store.rdbms.sql.expression.SingleCollectionExpression
wrappedExpressions
-
Fields inherited from class org.datanucleus.store.rdbms.sql.expression.DelegatedExpression
delegate
-
Fields inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
lowestOperator, mapping, parameterName, st, stmt, subExprs, table
-
-
Constructor Summary
Constructors Constructor Description OptionalLiteral(SQLStatement stmt, JavaTypeMapping mapping, Object value, String parameterName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getValue()
void
setNotParameter()
-
Methods inherited from class org.datanucleus.store.rdbms.sql.expression.OptionalExpression
invoke
-
Methods inherited from class org.datanucleus.store.rdbms.sql.expression.DelegatedExpression
add, div, eq, ge, getDelegate, gt, isParameter, le, lt, mod, mul, ne, sub, toSQLText
-
Methods inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
and, bitAnd, bitOr, cast, com, distinct, encloseInParentheses, eor, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, in, ior, is, neg, not, setJavaTypeMapping, unDistinct
-
-
-
-
Constructor Detail
-
OptionalLiteral
public OptionalLiteral(SQLStatement stmt, JavaTypeMapping mapping, Object value, String parameterName)
-
-
Method Detail
-
getValue
public Object getValue()
-
setNotParameter
public void setNotParameter()
-
-