Package org.apache.cayenne.query
Interface EntityResultSegment
public interface EntityResultSegment
A "compiled" version of a 
EntityResult descriptor.- Since:
- 3.0
- 
Method SummaryModifier and Type Method Description ClassDescriptorgetClassDescriptor()intgetColumnOffset()Returns a zero-based column index of the first column of this segment in the ResultSet.StringgetColumnPath(String resultSetLabel)Performs a reverse lookup of the column path for a given ResultSet label.Map<String,String>getFields()Returns a map of ResultSet labels keyed by column paths.
- 
Method Details- 
getClassDescriptorClassDescriptor getClassDescriptor()
- 
getFieldsReturns 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.
- 
getColumnPathPerforms a reverse lookup of the column path for a given ResultSet label.
- 
getColumnOffsetint getColumnOffset()Returns a zero-based column index of the first column of this segment in the ResultSet.
 
-