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 EntityResultSegment
public Map<String,String> getFields()
EntityResultSegment
getFields
in interface EntityResultSegment
public int getColumnOffset()
EntityResultSegment
getColumnOffset
in interface EntityResultSegment
public String getColumnPath(String resultSetLabel)
EntityResultSegment
getColumnPath
in interface EntityResultSegment
Copyright © 2001–2020 Apache Cayenne. All rights reserved.