Purpose: Contains the implementation of the From interface of the JPA criteria API.
Description: This class represents a from clause element which could be the root of the query of the end node of a join statement.
From
| Modifier and Type | Field and Description |
|---|---|
| protected FromImpl | |
| protected Set | |
| protected boolean | |
| protected boolean | |
| protected Set | |
| protected ManagedType |
| Access | Constructor and Description |
|---|---|
| public <T> | FromImpl(Path<Z> parentPath, ManagedType<X> managedType, Metamodel metamodel, Class<X> javaClass, Expression expressionNode, Bindable<T> modelArtifact)
|
| public <T> | FromImpl(Path<Z> parentPath, ManagedType<X> managedType, Metamodel metamodel, Class<X> javaClass, Expression expressionNode, Bindable<T> modelArtifact, FromImpl<Z, X> correlatedParent)
|
| Modifier and Type | Method and Description |
|---|---|
| public <Y> Fetch | Returns: the resulting fetch jointarget of the join assoc)Implements jakarta. |
| public <Y> Fetch | Returns: the resulting fetch jointarget of the join assoc, JoinType join type jt)Implements jakarta. |
| public <Y> Fetch | Returns: the resulting jointarget of the join assoc)Implements jakarta. |
| public <Y> Fetch | Returns: the resulting jointarget of the join assoc, JoinType join type jt)Implements jakarta. |
| public <T, Y> Fetch | Returns: the resulting fetch joinname of the attribute or association for the target of the
join assocName)Implements jakarta. |
| public <T, Y> Fetch | Returns: the resulting fetch joinassocName of the attribute or association for the target of
the join assocName, JoinType join type jt)Implements jakarta. |
| public List | |
| public void | |
| public <Y> Path | Returns: path corresponding to the referenced attributeattribute att)Overrides org. Implements jakarta. |
| public <E, C extends Collection | Returns: expression corresponding to the referenced attributecollection-valued attribute collection)Overrides org. Implements jakarta. |
| public <K, V, M extends Map | Returns: expression corresponding to the referenced attributemap-valued attribute map)Overrides org. Implements jakarta. |
| public <Y> Path | get(String
name of the attribute attName)Overrides org. Implements jakarta. |
| public From | Returns: the parent of the correlated From objectImplements jakarta. From object from which the correlated
From object has been obtained through correlation (use
of a Subquery correlate method).
|
| public Set | Returns: fetch joins made from this typeImplements jakarta. |
| public Set | getJoins()
Implements jakarta. |
| public boolean | Returns: boolean indicating whether the object has been obtained through correlationImplements jakarta. From object has been obtained as a result of
correlation (use of a Subquery correlate
method).
|
| public boolean | |
| public <Y> Join | join(SingularAttribute<? super X, Y>
target of the join attribute)Implements jakarta. |
| public <Y> Join | join(SingularAttribute<? super X, Y>
target of the join attribute, JoinType join type jt)Implements jakarta. |
| public <Y> CollectionJoin | join(CollectionAttribute<? super X, Y>
target of the join collection)Implements jakarta. |
| public <Y> SetJoin | join(SetAttribute<? super X, Y>
target of the join set)Implements jakarta. |
| public <Y> ListJoin | join(ListAttribute<? super X, Y>
target of the join list)Implements jakarta. |
| public <K, V> MapJoin | join(MapAttribute<? super X, K, V>
target of the join map)Implements jakarta. |
| public <Y> CollectionJoin | join(CollectionAttribute<? super X, Y>
target of the join collection, JoinType join type jt)Implements jakarta. |
| public <Y> SetJoin | join(SetAttribute<? super X, Y>
target of the join set, JoinType join type jt)Implements jakarta. |
| public <Y> ListJoin | join(ListAttribute<? super X, Y>
target of the join list, JoinType join type jt)Implements jakarta. |
| public <K, V> MapJoin | join(MapAttribute<? super X, K, V>
target of the join map, JoinType join type jt)Implements jakarta. |
| public <T, Y> Join | join(String
name of the attribute for the
target of the join attributeName)Implements jakarta. |
| public <T, Y> Join | join(String
name of the attribute for the
target of the join attributeName, JoinType join type jt)Implements jakarta. |
| public <T, Y> CollectionJoin | joinCollection(String
name of the attribute for the
target of the join attributeName)Implements jakarta. |
| public <T, Y> CollectionJoin | joinCollection(String
name of the attribute for the
target of the join attributeName, JoinType join type jt)Implements jakarta. |
| public <T, Y> ListJoin | joinList(String
name of the attribute for the
target of the join attributeName)Implements jakarta. |
| public <T, Y> ListJoin | joinList(String
name of the attribute for the
target of the join attributeName, JoinType join type jt)Implements jakarta. |
| public <T, K, Y> MapJoin | joinMap(String
name of the attribute for the
target of the join attributeName)Implements jakarta. |
| public <T, K, Y> MapJoin | joinMap(String
name of the attribute for the
target of the join attributeName, JoinType join type jt)Implements jakarta. |
| public <T, Y> SetJoin | joinSet(String
name of the attribute for the
target of the join attributeName)Implements jakarta. |
| public <T, Y> SetJoin | joinSet(String
name of the attribute for the
target of the join attributeName, JoinType join type jt)Implements jakarta. |
| public Expression | Returns: expression corresponding to the type of the pathOverrides org. Implements jakarta. |