TranslatorContext (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.access.translator.select, class: TranslatorContext

# 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

  Modifier and Type
  Method
  Description
  `DbAdapter`
  `getAdapter()`
  `Collection<DbAttributeBinding>`
  `getBindings()`
  `QuotingStrategy`
  `getQuotingStrategy()`
  `DbEntity`
  `getRootDbEntity()`

  ### Methods inherited from class Object

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

- ## Method Details

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