org.apache.cayenne.query

## Class DefaultEmbeddableResultSegment

- java.lang.Object
- - org.apache.cayenne.query.DefaultEmbeddableResultSegment

- All Implemented Interfaces:
    EmbeddableResultSegment

      public class DefaultEmbeddableResultSegment
      extends Object
      implements EmbeddableResultSegment

  Since:
    4.2

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultEmbeddableResultSegment(Embeddable embeddable, Map<String,String> fields, int offset)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getColumnOffset()` Returns a zero-based column index of the first column of this segment in the ResultSet.
    `Embeddable` | `getEmbeddable()`
    `Map<String,String>` | `getFields()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultEmbeddableResultSegment

          public DefaultEmbeddableResultSegment(Embeddable embeddable,
                                                Map<String,String> fields,
                                                int offset)

  - ### Method Detail

    - #### getFields

          public Map<String,String> getFields()

      Specified by:
        `getFields` in interface `EmbeddableResultSegment`

    - #### 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 interface `EmbeddableResultSegment`

    - #### getEmbeddable

          public Embeddable getEmbeddable()

      Specified by:
        `getEmbeddable` in interface `EmbeddableResultSegment`

Copyright © 2001–2021 Apache Cayenne. All rights reserved.