Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.query
Interface EntityResultSegment

    public interface EntityResultSegment

A "compiled" version of a `EntityResult` descriptor.

Since:
  3.0

Method Summary
`ClassDescriptor` | `getClassDescriptor()`
`int` | `getColumnOffset()` Returns a zero-based column index of the first column of this segment in the ResultSet.
`java.lang.String` | `getColumnPath(java.lang.String resultSetLabel)` Performs a reverse lookup of the column path for a given ResultSet label.
`java.util.Map<java.lang.String,java.lang.String>` | `getFields()` Returns a map of ResultSet labels keyed by column paths.

Method Detail

### getClassDescriptor

    ClassDescriptor getClassDescriptor()

### getFields

    java.util.Map<java.lang.String,java.lang.String> 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

    java.lang.String getColumnPath(java.lang.String resultSetLabel)

  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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2012 Apache Cayenne. All Rights Reserved.