Package 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
  Description
  `DefaultEmbeddableResultSegment(Embeddable embeddable, Map<String,String> fields, int offset)`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### DefaultEmbeddableResultSegment

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

- ## Method Details

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