org.apache.cayenne.access.translator.select

## Interface TranslatableQueryWrapper

- All Known Implementing Classes:
    FluentSelectWrapper, SelectQueryWrapper

      public interface TranslatableQueryWrapper

  This interface allows transparently use different queries (namely SelectQuery, ObjectSelect and ColumnSelect) in translator and as subqueries.
  Since:
    4.2

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `Collection<Property<?>>` | `getColumns()`
    `Expression` | `getHavingQualifier()`
    `QueryMetadata` | `getMetaData(EntityResolver resolver)`
    `Collection<Ordering>` | `getOrderings()`
    `Expression` | `getQualifier()`
    `boolean` | `isDistinct()`
    `default boolean` | `needsResultSetMapping()`
    `Select<?>` | `unwrap()`

- - ### Method Detail

    - #### isDistinct

          boolean isDistinct()

    - #### getMetaData

          QueryMetadata getMetaData(EntityResolver resolver)

    - #### getQualifier

          Expression getQualifier()

    - #### getOrderings

          Collection<Ordering> getOrderings()

    - #### getColumns

          Collection<Property<?>> getColumns()

    - #### getHavingQualifier

          Expression getHavingQualifier()

    - #### unwrap

          Select<?> unwrap()

    - #### needsResultSetMapping

          default boolean needsResultSetMapping()

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