Class TypeConverterExpression
- java.lang.Object
-
- org.datanucleus.store.rdbms.sql.expression.SQLExpression
-
- org.datanucleus.store.rdbms.sql.expression.DelegatedExpression
-
- org.datanucleus.store.rdbms.sql.expression.TypeConverterExpression
-
public class TypeConverterExpression extends DelegatedExpression
Wrapper expression handler for a TypeConverterMapping to avoid the need to have an explicit mapping for something using a TypeConverter.
-
-
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.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 TypeConverterExpression(SQLStatement stmt, SQLTable table, JavaTypeMapping mapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SQLExpression
invoke(java.lang.String methodName, java.util.List<SQLExpression> args)
Invocation of a method on this expression.-
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
-
TypeConverterExpression
public TypeConverterExpression(SQLStatement stmt, SQLTable table, JavaTypeMapping mapping)
-
-
Method Detail
-
invoke
public SQLExpression invoke(java.lang.String methodName, java.util.List<SQLExpression> args)
Description copied from class:SQLExpression
Invocation of a method on this expression.- Overrides:
invoke
in classDelegatedExpression
- Parameters:
methodName
- name of the method to invokeargs
- Args to this method (if any)- Returns:
- the converted value
-
-