javax.persistence.criteria.CriteriaQuery and
javax.persistence.criteria.Subquery .
Note the ORDER BY specs are neglected here. That's because it is not valid for a subquery to define an ORDER BY clause. So we just handle them on the root query directly...
| Modifier and Type | Field and Description |
|---|---|
| private Set | |
| private final CriteriaBuilderImpl | |
| private boolean | |
| private List | |
| private Predicate | |
| private final boolean | |
| private final AbstractQuery | |
| private Predicate | |
| private Set | |
| private Selection | |
| private List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Set | |
| public <X> Root | |
| public <X> Root | |
| private String | |
| public List | |
| public Predicate | |
| public Set | |
| public Predicate | |
| public Set | |
| public Selection | |
| public List | |
| public List | |
| public boolean | |
| private FromImplementor | |
| public void | |
| private void | renderFetches(StringBuilder jpaqlQuery, RenderingContext renderingContext, Collection<? extends Fetch<Z, X>> fetches)
|
| private void | |
| protected void | |
| private void | |
| private void | renderJoins(StringBuilder jpaqlQuery, RenderingContext renderingContext, Collection<? extends Join<?, ?>> joins)
|
| private String | |
| protected void | |
| protected void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public <U> Subquery |
| correlationRoots | back to summary |
|---|---|
| private Set<FromImplementor<Z, X>> correlationRoots | |
| criteriaBuilder | back to summary |
|---|---|
| private final CriteriaBuilderImpl criteriaBuilder | |
| distinct | back to summary |
|---|---|
| private boolean distinct | |
| groupings | back to summary |
|---|---|
| private List<Expression<?>> groupings | |
| having | back to summary |
|---|---|
| private Predicate having | |
| isSubQuery | back to summary |
|---|---|
| private final boolean isSubQuery | |
| owner | back to summary |
|---|---|
| private final AbstractQuery<T> owner | |
| restriction | back to summary |
|---|---|
| private Predicate restriction | |
| roots | back to summary |
|---|---|
| private Set<Root<?>> roots | |
| selection | back to summary |
|---|---|
| private Selection<? extends T> selection | |
| subqueries | back to summary |
|---|---|
| private List<Subquery<?>> subqueries | |
| QueryStructure | back to summary |
|---|---|
| public QueryStructure(AbstractQuery<T> owner, CriteriaBuilderImpl criteriaBuilder) | |
| addCorrelationRoot | back to summary |
|---|---|
| public void addCorrelationRoot(FromImplementor<Z, X> fromImplementor) | |
| collectCorrelatedJoins | back to summary |
|---|---|
| public Set | |
| from | back to summary |
|---|---|
| public <X> Root | |
| from | back to summary |
|---|---|
| public <X> Root | |
| getCorrelationRestrictionsWhereFragment | back to summary |
|---|---|
| private String getCorrelationRestrictionsWhereFragment() | |
| getGroupings | back to summary |
|---|---|
| public List | |
| getHaving | back to summary |
|---|---|
| public Predicate getHaving() | |
| getParameters | back to summary |
|---|---|
| public Set | |
| getRestriction | back to summary |
|---|---|
| public Predicate getRestriction() | |
| getRoots | back to summary |
|---|---|
| public Set | |
| getSelection | back to summary |
|---|---|
| public Selection | |
| getSubqueries | back to summary |
|---|---|
| public List | |
| internalGetSubqueries | back to summary |
|---|---|
| public List | |
| isDistinct | back to summary |
|---|---|
| public boolean isDistinct() | |
| locateImplicitSelection | back to summary |
|---|---|
| private FromImplementor | |
| render | back to summary |
|---|---|
public void render(StringBuilder jpaqlQuery, RenderingContext renderingContext)
| |
| renderFetches | back to summary |
|---|---|
private void renderFetches(StringBuilder jpaqlQuery, RenderingContext renderingContext, Collection<? extends Fetch<Z, X>> fetches)
| |
| renderFromClause | back to summary |
|---|---|
private void renderFromClause(StringBuilder jpaqlQuery, RenderingContext renderingContext)
| |
| renderGroupByClause | back to summary |
|---|---|
| protected void renderGroupByClause(StringBuilder jpaqlQuery, RenderingContext renderingContext) | |
| renderHavingClause | back to summary |
|---|---|
| private void renderHavingClause(StringBuilder jpaqlQuery, RenderingContext renderingContext) | |
| renderJoins | back to summary |
|---|---|
private void renderJoins(StringBuilder jpaqlQuery, RenderingContext renderingContext, Collection<? extends Join<?, ?>> joins)
| |
| renderJoinType | back to summary |
|---|---|
| private String renderJoinType(JoinType joinType) | |
| renderSelectClause | back to summary |
|---|---|
| protected void renderSelectClause(StringBuilder jpaqlQuery, RenderingContext renderingContext) | |
| renderWhereClause | back to summary |
|---|---|
| protected void renderWhereClause(StringBuilder jpaqlQuery, RenderingContext renderingContext) | |
| setDistinct | back to summary |
|---|---|
| public void setDistinct(boolean distinct) | |
| setGroupings | back to summary |
|---|---|
| public void setGroupings(List<Expression<?>> groupings) | |
| setGroupings | back to summary |
|---|---|
| public void setGroupings(Expression<?>... groupings) | |
| setHaving | back to summary |
|---|---|
| public void setHaving(Predicate having) | |
| setRestriction | back to summary |
|---|---|
| public void setRestriction(Predicate restriction) | |
| setSelection | back to summary |
|---|---|
| public void setSelection(Selection<? extends T> selection) | |
| subquery | back to summary |
|---|---|
| public <U> Subquery | |