public class ColumnResult extends SQLResult
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
EntityResult
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected org.eclipse.persistence.internal.helper.DatabaseField |
column
Stores the Columns name from the result set
|
sqlResultSetMapping
Constructor and Description |
---|
ColumnResult(org.eclipse.persistence.internal.helper.DatabaseField column) |
ColumnResult(String column) |
Modifier and Type | Method and Description |
---|---|
void |
convertClassNamesToClasses(ClassLoader classLoader)
INTERNAL:
Convert all the class-name-based settings in this query to actual
class-based settings.
|
org.eclipse.persistence.internal.helper.DatabaseField |
getColumn() |
Object |
getValueFromRecord(DatabaseRecord record,
ResultSetMappingQuery query)
INTERNAL:
This method is a convenience method for extracting values from Results
|
boolean |
isColumnResult()
Return true if this is a column result.
|
getSQLResultMapping, isConstructorResult, isEntityResult, setSQLResultMapping
protected org.eclipse.persistence.internal.helper.DatabaseField column
public ColumnResult(org.eclipse.persistence.internal.helper.DatabaseField column)
public ColumnResult(String column)
public void convertClassNamesToClasses(ClassLoader classLoader)
convertClassNamesToClasses
in class SQLResult
classLoader
- public org.eclipse.persistence.internal.helper.DatabaseField getColumn()
public Object getValueFromRecord(DatabaseRecord record, ResultSetMappingQuery query)
getValueFromRecord
in class SQLResult
public boolean isColumnResult()
SQLResult
isColumnResult
in class SQLResult
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.