org.apache.cayenne.access.translator.select

## Class TranslatorContext

- java.lang.Object
- - org.apache.cayenne.access.translator.select.TranslatorContext

- All Implemented Interfaces:
    SQLGenerationContext

      public class TranslatorContext
      extends Object
      implements SQLGenerationContext

  Context that holds all data necessary for query translation as well as a result of that translation.
  Since:
    4.2

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `DbAdapter` | `getAdapter()`
    `Collection<DbAttributeBinding>` | `getBindings()`
    `QuotingStrategy` | `getQuotingStrategy()`
    `DbEntity` | `getRootDbEntity()`

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

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

- - ### Method Detail

    - #### getBindings

          public Collection<DbAttributeBinding> getBindings()

      Specified by:
        `getBindings` in interface `SQLGenerationContext`

    - #### getAdapter

          public DbAdapter getAdapter()

      Specified by:
        `getAdapter` in interface `SQLGenerationContext`

    - #### getRootDbEntity

          public DbEntity getRootDbEntity()

      Specified by:
        `getRootDbEntity` in interface `SQLGenerationContext`

    - #### getQuotingStrategy

          public QuotingStrategy getQuotingStrategy()

      Specified by:
        `getQuotingStrategy` in interface `SQLGenerationContext`

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