Example usage for Java javax.persistence.criteria Root fields, constructors, methods, implement or subclass
The text is from its open source code.
Selection | alias(String name) Assigns an alias to the selection item. |
Expression | as(Class Perform a typecast upon the expression, returning a new expression object. |
Fetch | fetch(SingularAttribute super X, Y> attribute, JoinType jt) Create a fetch join to the specified single-valued attribute using the given join type. |
Fetch | fetch(SingularAttribute super X, Y> attribute) Create a fetch join to the specified single-valued attribute using an inner join. |
Path | get(SingularAttribute super X, Y> attribute) Create a path corresponding to the referenced single-valued attribute. |
String | getAlias() Return the alias assigned to the tuple element or null, if no alias has been assigned. |
java.util.Set | getFetches() Return the fetch joins that have been made from this type. |
Class extends X> | getJavaType() Return the Java type of the tuple element. |
Set | getJoins() Return the joins that have been made from this bound type. |
EntityType | getModel() Return the metamodel entity corresponding to the root. |
Predicate | in(Object... values) Create a predicate to test whether the expression is a member of the argument list. |
Join | join(SingularAttribute super X, Y> attribute, JoinType jt) Create a join to the specified single-valued attribute using the given join type. |
Join | join(SingularAttribute super X, Y> attribute) Create an inner join to the specified single-valued attribute. |
ListJoin | joinList(String attributeName) Create an inner join to the specified List-valued attribute. |
SetJoin | joinSet(String attributeName) Create an inner join to the specified Set-valued attribute. |
Expression | type() Create an expression corresponding to the type of the path. |