Class CompoundSelection<T>

java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.selection.CompoundSelection<T>
Type Parameters:
T - The compound selection
All Implemented Interfaces:
SelectionVisitable, ISelection<T>, jakarta.persistence.criteria.Selection<T>, jakarta.persistence.TupleElement<T>

@Internal public final class CompoundSelection<T> extends Object implements ISelection<T>, SelectionVisitable
The compound selection.
Since:
3.2
Author:
Denis Stepanov
  • Constructor Details

    • CompoundSelection

      public CompoundSelection(List<jakarta.persistence.criteria.Selection<?>> selections)
  • Method Details

    • accept

      public void accept(SelectionVisitor selectionVisitor)
      Specified by:
      accept in interface SelectionVisitable
    • isCompoundSelection

      public boolean isCompoundSelection()
      Specified by:
      isCompoundSelection in interface ISelection<T>
      Specified by:
      isCompoundSelection in interface jakarta.persistence.criteria.Selection<T>
    • getCompoundSelectionItems

      public List<jakarta.persistence.criteria.Selection<?>> getCompoundSelectionItems()
      Specified by:
      getCompoundSelectionItems in interface ISelection<T>
      Specified by:
      getCompoundSelectionItems in interface jakarta.persistence.criteria.Selection<T>
    • getJavaType

      public Class<? extends T> getJavaType()
      Specified by:
      getJavaType in interface jakarta.persistence.TupleElement<T>
    • alias

      public jakarta.persistence.criteria.Selection<T> alias(String name)
      Specified by:
      alias in interface ISelection<T>
      Specified by:
      alias in interface jakarta.persistence.criteria.Selection<T>