Package org.apache.cayenne.query
Interface EntityResultSegment
- All Known Implementing Classes:
DefaultEntityResultSegment
public interface EntityResultSegment
A "compiled" version of a
EntityResult
descriptor.- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns a zero-based column index of the first column of this segment in the ResultSet.getColumnPath
(String resultSetLabel) Performs a reverse lookup of the column path for a given ResultSet label.Returns a map of ResultSet labels keyed by column paths.
-
Method Details
-
getClassDescriptor
ClassDescriptor getClassDescriptor() -
getFields
Returns a map of ResultSet labels keyed by column paths. Note that ordering of fields in the returned map is generally undefined and should not be relied upon when processing query result sets. -
getColumnPath
Performs a reverse lookup of the column path for a given ResultSet label. -
getColumnOffset
int getColumnOffset()Returns a zero-based column index of the first column of this segment in the ResultSet.
-