| Modifier and Type | Method and Description |
|---|---|
| public <Y> Path | Returns: path corresponding to the referenced attributesingle-valued attribute attribute)Create a path corresponding to the referenced single-valued attribute. |
| public <E, C extends Collection | Returns: expression corresponding to the referenced attributecollection-valued attribute collection)Create a path corresponding to the referenced collection-valued attribute. |
| public <K, V, M extends Map | Returns: expression corresponding to the referenced attributemap-valued attribute map)Create a path corresponding to the referenced map-valued attribute. |
| public <Y> Path | |
| public Bindable | Returns: bindable object corresponding to the pathReturn the bindable object that corresponds to the path expression. |
| public Path | |
| public Expression | Returns: expression corresponding to the type of the pathCreate an expression corresponding to the type of the path. |
| get | back to summary |
|---|---|
| public <Y> Path Create a path corresponding to the referenced single-valued attribute.
| |
| get | back to summary |
|---|---|
| public <E, C extends Collection Create a path corresponding to the referenced collection-valued attribute.
| |
| get | back to summary |
|---|---|
| public <K, V, M extends Map Create a path corresponding to the referenced map-valued attribute.
| |
| get | back to summary |
|---|---|
| public <Y> Path 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));
| |
| getModel | back to summary |
|---|---|
| public Bindable Return the bindable object that corresponds to the path expression.
| |
| getParentPath | back to summary |
|---|---|
| public Path Return the parent "node" in the path or null if no parent.
| |
| type | back to summary |
|---|---|
| public Expression Create an expression corresponding to the type of the path.
| |