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 java.lang.Object implements ISelection<T>, SelectionVisitable
The compound selection.- Since:
- 3.2
- Author:
- Denis Stepanov
-
-
Constructor Summary
Constructors Constructor Description CompoundSelection(java.util.List<jakarta.persistence.criteria.Selection<?>> selections)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(SelectionVisitor selectionVisitor)jakarta.persistence.criteria.Selection<T>alias(java.lang.String name)java.util.List<jakarta.persistence.criteria.Selection<?>>getCompoundSelectionItems()java.lang.Class<? extends T>getJavaType()booleanisCompoundSelection()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
getAlias
-
-
-
-
Method Detail
-
accept
public void accept(SelectionVisitor selectionVisitor)
- Specified by:
acceptin interfaceSelectionVisitable
-
isCompoundSelection
public boolean isCompoundSelection()
- Specified by:
isCompoundSelectionin interfaceISelection<T>- Specified by:
isCompoundSelectionin interfacejakarta.persistence.criteria.Selection<T>
-
getCompoundSelectionItems
public java.util.List<jakarta.persistence.criteria.Selection<?>> getCompoundSelectionItems()
- Specified by:
getCompoundSelectionItemsin interfaceISelection<T>- Specified by:
getCompoundSelectionItemsin interfacejakarta.persistence.criteria.Selection<T>
-
getJavaType
public java.lang.Class<? extends T> getJavaType()
- Specified by:
getJavaTypein interfacejakarta.persistence.TupleElement<T>
-
alias
public jakarta.persistence.criteria.Selection<T> alias(java.lang.String name)
- Specified by:
aliasin interfaceISelection<T>- Specified by:
aliasin interfacejakarta.persistence.criteria.Selection<T>
-
-