Package org.apache.cayenne.query
Class DefaultEmbeddableResultSegment
java.lang.Object
org.apache.cayenne.query.DefaultEmbeddableResultSegment
- All Implemented Interfaces:
EmbeddableResultSegment
- Since:
- 4.2
-
Constructor Summary
ConstructorDescriptionDefaultEmbeddableResultSegment
(Embeddable embeddable, Map<String, String> fields, int offset) -
Method Summary
Modifier and TypeMethodDescriptionint
Returns a zero-based column index of the first column of this segment in the ResultSet.
-
Constructor Details
-
DefaultEmbeddableResultSegment
-
-
Method Details
-
getFields
- Specified by:
getFields
in interfaceEmbeddableResultSegment
-
getColumnOffset
public int getColumnOffset()Description copied from interface:EmbeddableResultSegment
Returns a zero-based column index of the first column of this segment in the ResultSet.- Specified by:
getColumnOffset
in interfaceEmbeddableResultSegment
-
getEmbeddable
- Specified by:
getEmbeddable
in interfaceEmbeddableResultSegment
-