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.
`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.

Method Detail

### getClassDescriptor

    ClassDescriptor getClassDescriptor()

### getFields

    Map<String,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

    String getColumnPath(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-2013 Apache Cayenne. All Rights Reserved.