Class OptionalExpression
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
- Direct Known Subclasses:
OptionalLiteral
Expression for java.util.Optional.
-
Nested Class Summary
Nested classes/interfaces inherited from class SQLExpression
SQLExpression.ColumnExpressionList -
Field Summary
Fields inherited from class SingleCollectionExpression
wrappedExpressionsFields inherited from class DelegatedExpression
delegateFields inherited from class SQLExpression
lowestOperator, mapping, parameterName, st, stmt, subExprs, table -
Constructor Summary
ConstructorsConstructorDescriptionOptionalExpression(SQLStatement stmt, SQLTable table, JavaTypeMapping mapping) -
Method Summary
Modifier and TypeMethodDescriptioninvoke(String methodName, List<SQLExpression> args) Invocation of a method on this expression.Methods inherited from class DelegatedExpression
add, div, eq, ge, getDelegate, gt, isParameter, le, lt, mod, mul, ne, sub, toSQLTextMethods inherited from class SQLExpression
and, bitAnd, bitOr, cast, com, distinct, encloseInParentheses, eor, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, in, ior, is, neg, not, setJavaTypeMapping, unDistinct
-
Constructor Details
-
OptionalExpression
-
-
Method Details
-
invoke
Description copied from class:SQLExpressionInvocation of a method on this expression.- Overrides:
invokein classSingleCollectionExpression- Parameters:
methodName- name of the method to invokeargs- Args to this method (if any)- Returns:
- the converted value
-