java.lang.Object
org.eclipse.persistence.queries.SQLResult
org.eclipse.persistence.queries.ColumnResult
- All Implemented Interfaces:
Serializable
Purpose: Concrete class to represent the ColumnResult structure as defined by the EJB 3.0 Persistence specification. This class is a subcomponent of the EntityResult
- Since:
- TopLink Java Essentials
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected DatabaseField
Stores the Columns name from the result setFields inherited from class org.eclipse.persistence.queries.SQLResult
sqlResultSetMapping
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
convertClassNamesToClasses
(ClassLoader classLoader) INTERNAL: Convert all the class-name-based settings in this query to actual class-based settings.getValueFromRecord
(DatabaseRecord record, ResultSetMappingQuery query) INTERNAL: This method is a convenience method for extracting values from Resultsboolean
Return true if this is a column result.Methods inherited from class org.eclipse.persistence.queries.SQLResult
getSQLResultMapping, isConstructorResult, isEntityResult, setSQLResultMapping
-
Field Details
-
column
Stores the Columns name from the result set
-
-
Constructor Details
-
ColumnResult
-
ColumnResult
-
-
Method Details
-
convertClassNamesToClasses
INTERNAL: Convert all the class-name-based settings in this query to actual class-based settings. This method is used when converting a project that has been built with class names to a project with classes.- Overrides:
convertClassNamesToClasses
in classSQLResult
-
getColumn
-
getValueFromRecord
INTERNAL: This method is a convenience method for extracting values from Results- Specified by:
getValueFromRecord
in classSQLResult
-
isColumnResult
public boolean isColumnResult()Description copied from class:SQLResult
Return true if this is a column result.- Overrides:
isColumnResult
in classSQLResult
-