public class DefaultEntityResultSegment extends Object implements EntityResultSegment
| Constructor and Description |
|---|
DefaultEntityResultSegment(ClassDescriptor classDescriptor,
Map<String,String> fields,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
ClassDescriptor |
getClassDescriptor() |
int |
getColumnOffset()
Returns a zero-based column index of the first column of this segment in the
ResultSet.
|
String |
getColumnPath(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.
|
public DefaultEntityResultSegment(ClassDescriptor classDescriptor, Map<String,String> fields, int offset)
public ClassDescriptor getClassDescriptor()
getClassDescriptor in interface EntityResultSegmentpublic Map<String,String> getFields()
EntityResultSegmentgetFields in interface EntityResultSegmentpublic int getColumnOffset()
EntityResultSegmentgetColumnOffset in interface EntityResultSegmentpublic String getColumnPath(String resultSetLabel)
EntityResultSegmentgetColumnPath in interface EntityResultSegmentCopyright © 2001–2021 Apache Cayenne. All rights reserved.