Purpose: Represents a Join to a ElementCollection of basics.
Description: Represents a Join to a ElementCollection of basics. Special type of Join that does not allow further joins.
ListJoin
| Access | Constructor and Description |
|---|---|
| public <T> | BasicListJoinImpl(Path<Z> parentPath, Metamodel metamodel, Class<E> javaClass, Expression expressionNode, Bindable<T> modelArtifact)
|
| public <C, T> | BasicListJoinImpl(Path<Z> parentPath, Metamodel metamodel, Class<E> javaClass, Expression expressionNode, Bindable<T> modelArtifact, JoinType joinType)
|
| Modifier and Type | Method and Description |
|---|---|
| public <Y> Path | Returns: path corresponding to the referenced attributeattribute att)Overrides org. Implements jakarta. |
| public <Y, C extends Collection | Returns: expression corresponding to the referenced attributecollection-valued attribute collection)Overrides org. Implements jakarta. |
| public <L, W, 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 <Y> Join | join(SingularAttribute<? super E, Y>
target of the join attribute, JoinType join type jt)Overrides org. Implements jakarta. |
| public <Y> CollectionJoin | join(CollectionAttribute<? super E, Y>
target of the join collection, JoinType join type jt)Overrides org. Implements jakarta. |
| public <Y> SetJoin | join(SetAttribute<? super E, Y>
target of the join set, JoinType join type jt)Overrides org. Implements jakarta. |
| public <Y> ListJoin | join(ListAttribute<? super E, Y>
target of the join list, JoinType join type jt)Overrides org. Implements jakarta. |
| public <L, W> MapJoin | join(MapAttribute<? super E, L, W>
target of the join map, JoinType join type jt)Overrides org. Implements jakarta. |
| public <E, Y> Join | join(String
name of the attribute for the
target of the join attributeName, JoinType join type jt)Overrides org. Implements jakarta. |
| public <E, Y> CollectionJoin | joinCollection(String
name of the attribute for the
target of the join attributeName, JoinType join type jt)Overrides org. Implements jakarta. |
| public <E, Y> ListJoin | joinList(String
name of the attribute for the
target of the join attributeName, JoinType join type jt)Overrides org. Implements jakarta. |
| public <E, L, W> MapJoin | joinMap(String
name of the attribute for the
target of the join attributeName, JoinType join type jt)Overrides org. Implements jakarta. |
| public <E, Y> SetJoin | joinSet(String
name of the attribute for the
target of the join attributeName, JoinType join type jt)Overrides org. Implements jakarta. |
| public Expression | Returns: expression corresponding to the type of the pathOverrides org. Implements jakarta. |
| BasicListJoinImpl | back to summary |
|---|---|
| public <T> BasicListJoinImpl(Path<Z> parentPath, Metamodel metamodel, Class<E> javaClass, Expression expressionNode, Bindable<T> modelArtifact) | |
| BasicListJoinImpl | back to summary |
|---|---|
| public <C, T> BasicListJoinImpl(Path<Z> parentPath, Metamodel metamodel, Class<E> javaClass, Expression expressionNode, Bindable<T> modelArtifact, JoinType joinType) | |
| get | back to summary |
|---|---|
| public <Y> Path Overrides org. Implements jakarta. Return the path corresponding to the referenced non-collection valued attribute.
| |
| get | back to summary |
|---|---|
| public <Y, C extends Collection Overrides org. Implements jakarta. Return the path corresponding to the referenced collection-valued attribute.
| |
| get | back to summary |
|---|---|
| public <L, W, M extends Map Overrides org. Implements jakarta. Return the path corresponding to the referenced map-valued attribute.
| |
| get | back to summary |
|---|---|
| public <Y> Path Overrides org. Implements jakarta. Doc from jakarta. Create a path corresponding to the referenced attribute. Note Applications using the string-based API may need to
specify the type resulting from the
For example:
CriteriaQuery<Person> q = cb.createQuery(Person.class);
Root<Person> p = q.from(Person.class);
q.select(p)
.where(cb.isMember("joe",
p.<Set<String>>get("nicknames")));
rather than:
CriteriaQuery<Person> q = cb.createQuery(Person.class);
Root<Person> p = q.from(Person.class);
Path<Set<String>> nicknames = p.get("nicknames");
q.select(p)
.where(cb.isMember("joe", nicknames));
| |
| join | back to summary |
|---|---|
| public <Y> Join Overrides org. Implements jakarta. Doc from jakarta. Create a join to the specified single-valued attribute using the given join type.
| |
| join | back to summary |
|---|---|
| public <Y> CollectionJoin Overrides org. Implements jakarta. Doc from jakarta. Create a join to the specified Collection-valued attribute using the given join type.
| |
| join | back to summary |
|---|---|
| public <Y> SetJoin Overrides org. Implements jakarta. Doc from jakarta. Create a join to the specified Set-valued attribute using the given join type.
| |
| join | back to summary |
|---|---|
| public <Y> ListJoin Overrides org. Implements jakarta. Doc from jakarta. Create a join to the specified List-valued attribute using the given join type.
| |
| join | back to summary |
|---|---|
| public <L, W> MapJoin Overrides org. Implements jakarta. Doc from jakarta. Create a join to the specified Map-valued attribute using the given join type.
| |
| join | back to summary |
|---|---|
| public <E, Y> Join Overrides org. Implements jakarta. Doc from jakarta. Create a join to the specified attribute using the given join type. | |
| joinCollection | back to summary |
|---|---|
| public <E, Y> CollectionJoin Overrides org. Implements jakarta. Doc from jakarta. Create a join to the specified Collection-valued attribute using the given join type.
| |
| joinList | back to summary |
|---|---|
| public <E, Y> ListJoin Overrides org. Implements jakarta. Doc from jakarta. Create a join to the specified List-valued attribute using the given join type. | |
| joinMap | back to summary |
|---|---|
| public <E, L, W> MapJoin Overrides org. Implements jakarta. Doc from jakarta. Create a join to the specified Map-valued attribute using the given join type. | |
| joinSet | back to summary |
|---|---|
| public <E, Y> SetJoin Overrides org. Implements jakarta. Doc from jakarta. Create a join to the specified Set-valued attribute using the given join type. | |
| type | back to summary |
|---|---|
| public Expression Overrides org. Implements jakarta. Return an expression corresponding to the type of the path.
| |