Java javax.persistence.criteria Root fields, constructors, methods, implement or subclass

Example usage for Java javax.persistence.criteria Root fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.persistence.criteria Root.

The text is from its open source code.

Implementation

javax.persistence.criteria.Root has the following implementations.
Click this link to see all its implementation.

Method

Selectionalias(String name)
Assigns an alias to the selection item.
Expressionas(Class type)
Perform a typecast upon the expression, returning a new expression object.
Fetchfetch(SingularAttribute attribute, JoinType jt)
Create a fetch join to the specified single-valued attribute using the given join type.
Fetchfetch(SingularAttribute attribute)
Create a fetch join to the specified single-valued attribute using an inner join.
Pathget(SingularAttribute attribute)
Create a path corresponding to the referenced single-valued attribute.
StringgetAlias()
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.
ClassgetJavaType()
Return the Java type of the tuple element.
Set>getJoins()
Return the joins that have been made from this bound type.
EntityTypegetModel()
Return the metamodel entity corresponding to the root.
Predicatein(Object... values)
Create a predicate to test whether the expression is a member of the argument list.
Joinjoin(SingularAttribute attribute, JoinType jt)
Create a join to the specified single-valued attribute using the given join type.
Joinjoin(SingularAttribute attribute)
Create an inner join to the specified single-valued attribute.
ListJoinjoinList(String attributeName)
Create an inner join to the specified List-valued attribute.
SetJoinjoinSet(String attributeName)
Create an inner join to the specified Set-valued attribute.
Expression>type()
Create an expression corresponding to the type of the path.