Class NewObjectExpression
java.lang.Object
org.datanucleus.store.rdbms.sql.expression.SQLExpression
org.datanucleus.store.rdbms.sql.expression.NewObjectExpression
SQL Expression for creating a new object (in the result clause of a query).
-
Nested Class Summary
Nested classes/interfaces inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
SQLExpression.ColumnExpressionList
-
Field Summary
FieldsModifier and TypeFieldDescriptionOptional aliases for the constructor arg expressions.(package private) List
<SQLExpression> The argument expressions to use in the constructor.(package private) Class
The class that we need to construct an instance of.Fields inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
lowestOperator, mapping, parameterName, st, stmt, subExprs, table
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
add, and, bitAnd, bitOr, cast, com, distinct, div, encloseInParentheses, eor, eq, ge, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, gt, in, invoke, ior, is, isParameter, le, lt, mod, mul, ne, neg, not, setJavaTypeMapping, sub, toSQLText, unDistinct
-
Field Details
-
newClass
Class newClassThe class that we need to construct an instance of. -
ctrArgExprs
List<SQLExpression> ctrArgExprsThe argument expressions to use in the constructor. -
ctrArgAliases
Optional aliases for the constructor arg expressions.
-
-
Constructor Details
-
NewObjectExpression
- Parameters:
stmt
- SQLStatement that this is part ofcls
- Class that we create an instance ofargs
- argument SQL expressions
-
-
Method Details
-
setArgAliases
-
getNewClass
-
getConstructorArgExpressions
-
getConstructorArgAliases
-