java.lang.Object
org.eclipse.persistence.queries.SQLResult
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ColumnResult
,ConstructorResult
,EntityResult
Purpose: An abstract superclass that represents the commonalities between the main result types of the SQLResultSetMapping
- Since:
- TopLink Java Essentials
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
convertClassNamesToClasses
(ClassLoader classLoader) INTERNAL: Convert all the class-name-based settings in this SQLResult to actual class-based settings.INTERNAL: Return the SQLResultSetMapping this SQLResult is part of.abstract Object
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.boolean
Return true if this is a constructor result.boolean
Return true if this is an entity result.void
setSQLResultMapping
(SQLResultSetMapping mapping) INTERNAL: Set the SQLResultSetMapping this SQLResult is part of.
-
Field Details
-
sqlResultSetMapping
-
-
Constructor Details
-
SQLResult
public SQLResult()
-
-
Method Details
-
convertClassNamesToClasses
INTERNAL: Convert all the class-name-based settings in this SQLResult 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. -
getSQLResultMapping
INTERNAL: Return the SQLResultSetMapping this SQLResult is part of. -
isColumnResult
public boolean isColumnResult()Return true if this is a column result. -
isConstructorResult
public boolean isConstructorResult()Return true if this is a constructor result. -
isEntityResult
public boolean isEntityResult()Return true if this is an entity result. -
setSQLResultMapping
INTERNAL: Set the SQLResultSetMapping this SQLResult is part of. -
getValueFromRecord
INTERNAL: This method is a convenience method for extracting values from Results
-