public class CompoundSelectionImpl extends SelectionImpl implements jakarta.persistence.criteria.CompoundSelection
Purpose: Contains the implementation of the Selection interface of the JPA criteria API.
Description: The Selection is the expression describing what should be returned by the query.
Join,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<String> |
duplicateAliasNames |
protected ArrayList<jakarta.persistence.criteria.Selection<?>> |
subSelections |
alias, currentNode, javaType| Constructor and Description |
|---|
CompoundSelectionImpl(Class javaType,
jakarta.persistence.criteria.Selection[] subSelections) |
CompoundSelectionImpl(Class javaType,
jakarta.persistence.criteria.Selection[] subSelections,
boolean validate) |
| Modifier and Type | Method and Description |
|---|---|
void |
findRootAndParameters(CommonAbstractCriteriaImpl criteriaQuery) |
List<jakarta.persistence.criteria.Selection<?>> |
getCompoundSelectionItems()
Return selection items composing a compound selection
|
protected List<String> |
getDuplicateAliasNames()
Returns the collection used to store any duplicate alias names found within this CompoundSelection Item
|
boolean |
isCompoundSelection()
Whether the selection item is a compound selection
|
alias, getAlias, getCurrentNode, getJavaType, isConstructor, isFrom, isRootprotected ArrayList<jakarta.persistence.criteria.Selection<?>> subSelections
public CompoundSelectionImpl(Class javaType, jakarta.persistence.criteria.Selection[] subSelections)
public CompoundSelectionImpl(Class javaType, jakarta.persistence.criteria.Selection[] subSelections, boolean validate)
public boolean isCompoundSelection()
isCompoundSelection in interface jakarta.persistence.criteria.SelectionisCompoundSelection in class SelectionImplpublic List<jakarta.persistence.criteria.Selection<?>> getCompoundSelectionItems()
getCompoundSelectionItems in interface jakarta.persistence.criteria.SelectiongetCompoundSelectionItems in class SelectionImplIllegalStateException - if selection is not a compound
selectionprotected List<String> getDuplicateAliasNames()
public void findRootAndParameters(CommonAbstractCriteriaImpl criteriaQuery)
findRootAndParameters in interface InternalSelectionCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.