Class 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 java.lang.Object
    implements ISelection<T>, SelectionVisitable
    The compound selection.
    Since:
    3.2
    • Constructor Summary

      Constructors 
      Constructor Description
      CompoundSelection​(java.util.List<jakarta.persistence.criteria.Selection<?>> selections)  
    • Constructor Detail

      • CompoundSelection

        public CompoundSelection​(java.util.List<jakarta.persistence.criteria.Selection<?>> selections)
    • Method Detail

      • isCompoundSelection

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

        public java.util.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 java.lang.Class<? extends T> getJavaType()
        Specified by:
        getJavaType in interface jakarta.persistence.TupleElement<T>
      • alias

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