public class CompoundSelectionImpl extends SelectionImpl implements javax.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 FormConstructor and Description |
---|
CompoundSelectionImpl(java.lang.Class javaType,
javax.persistence.criteria.Selection[] subSelections) |
CompoundSelectionImpl(java.lang.Class javaType,
javax.persistence.criteria.Selection[] subSelections,
boolean validate) |
Modifier and Type | Method and Description |
---|---|
void |
findRootAndParameters(CommonAbstractCriteriaImpl criteriaQuery) |
java.util.List<javax.persistence.criteria.Selection<?>> |
getCompoundSelectionItems()
Return selection items composing a compound selection
|
boolean |
isCompoundSelection()
Whether the selection item is a compound selection
|
alias, getAlias, getCurrentNode, getJavaType, isConstructor, isFrom, isRoot
public CompoundSelectionImpl(java.lang.Class javaType, javax.persistence.criteria.Selection[] subSelections)
public CompoundSelectionImpl(java.lang.Class javaType, javax.persistence.criteria.Selection[] subSelections, boolean validate)
public boolean isCompoundSelection()
isCompoundSelection
in interface javax.persistence.criteria.Selection
isCompoundSelection
in class SelectionImpl
public java.util.List<javax.persistence.criteria.Selection<?>> getCompoundSelectionItems()
getCompoundSelectionItems
in interface javax.persistence.criteria.Selection
getCompoundSelectionItems
in class SelectionImpl
java.lang.IllegalStateException
- if selection is not a compound
selectionpublic void findRootAndParameters(CommonAbstractCriteriaImpl criteriaQuery)
findRootAndParameters
in interface InternalSelection
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference