org.apache.cayenne.access.translator.select

## Class DefaultSelectTranslatorFactory

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

- All Implemented Interfaces:
    SelectTranslatorFactory

      public class DefaultSelectTranslatorFactory
      extends Object
      implements SelectTranslatorFactory

  A `SelectTranslator` factory that delegates translator creation to DbAdapter.
  Since:
    4.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultSelectTranslatorFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SelectTranslator` | `translator(SelectQuery<?> query, DbAdapter adapter, EntityResolver entityResolver)` Creates a proper translator for a BatchQuery

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

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

- - ### Constructor Detail

    - #### DefaultSelectTranslatorFactory

          public DefaultSelectTranslatorFactory()

  - ### Method Detail

    - #### translator

          public SelectTranslator translator(SelectQuery<?> query,
                                             DbAdapter adapter,
                                             EntityResolver entityResolver)

      Description copied from interface: `SelectTranslatorFactory`
      Creates a proper translator for a BatchQuery
      Specified by:
        `translator` in interface `SelectTranslatorFactory`

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