|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.triactive.jdo.store.query.result.NamedResultExpression
A result expression that has a textual name.
This class just combines an already existing result expression with a name string. The name is used when the result value gets placed into a Map or user-defined value object.
| Constructor Summary | |
NamedResultExpression(ResultExpression expr,
java.lang.String name)
Constructs a new named result expression. |
|
| Method Summary | |
java.lang.String |
getName()
Returns the name of this result expression. |
java.lang.Class |
getResultType()
Returns the type of objects produced by this result expression. |
ResultObjectFactory |
newResultObjectFactory(java.sql.ResultSet rs)
Generates a result object factory to convert expression values from the specified SQL result set into Java objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NamedResultExpression(ResultExpression expr,
java.lang.String name)
expr - an existing result expressionname - the name for the result expression| Method Detail |
public java.lang.String getName()
public java.lang.Class getResultType()
ResultExpression
getResultType in interface ResultExpression
public ResultObjectFactory newResultObjectFactory(java.sql.ResultSet rs)
throws java.sql.SQLException
ResultExpression
newResultObjectFactory in interface ResultExpressionrs - the result set containing the columns backing the result expression
java.sql.SQLException - if a database error occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||