Class AliasedSelection<T>

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

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

  • Method Details

    • visitSelection

      public void visitSelection(SelectionVisitor selectionVisitor)
      Description copied from interface: ISelection
      Visit the selection.
      Specified by:
      visitSelection in interface ISelection<T>
      Parameters:
      selectionVisitor - The visitor
    • getSelection

      public ISelection<T> getSelection()
    • 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>
    • 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>
    • getAlias

      public String getAlias()
      Specified by:
      getAlias in interface ISelection<T>
      Specified by:
      getAlias in interface jakarta.persistence.TupleElement<T>