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

# Interface SelectTranslator

All Known Implementing Classes:
  `DefaultSelectTranslator`

public interface SelectTranslator
An abstraction of `ObjectSelect` translator.

Since:
  4.0 this is an interface.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Map<ObjAttribute, ColumnDescriptor>`
  `getAttributeOverrides()`
  `DbAttributeBinding[]`
  `getBindings()`
  `ColumnDescriptor[]`
  `getResultColumns()`
  `String`
  `getSql()`
  `boolean`
  `hasJoins()`
  `boolean`
  `isSuppressingDistinct()`

- ## Method Details

  - ### getSql

    String getSql() throws Exception
    Throws:
      `Exception`

  - ### getBindings

    DbAttributeBinding[] getBindings()

  - ### getAttributeOverrides

    Map<ObjAttribute, ColumnDescriptor> getAttributeOverrides()

  - ### getResultColumns

    ColumnDescriptor[] getResultColumns()

  - ### isSuppressingDistinct

    boolean isSuppressingDistinct()

  - ### hasJoins

    boolean hasJoins()
    Returns:
      do query has at least one join
    Since:
      4.0