Package | Description |
---|---|
javax.persistence.criteria |
Java Persistence Criteria API
|
javax.persistence.metamodel |
Java Persistence Metamodel API
|
org.hibernate.metamodel.internal | |
org.hibernate.query.criteria.internal | |
org.hibernate.query.criteria.internal.path |
Modifier and Type | Method and Description |
---|---|
<Y> Fetch<X,Y> |
FetchParent.fetch(SingularAttribute<? super X,Y> attribute)
Create a fetch join to the specified single-valued attribute
using an inner join.
|
<Y> Fetch<X,Y> |
FetchParent.fetch(SingularAttribute<? super X,Y> attribute,
JoinType jt)
Create a fetch join to the specified single-valued attribute
using the given join type.
|
<Y> Path<Y> |
Path.get(SingularAttribute<? super X,Y> attribute)
Create a path corresponding to the referenced
single-valued attribute.
|
<Y> Join<X,Y> |
From.join(SingularAttribute<? super X,Y> attribute)
Create an inner join to the specified single-valued
attribute.
|
<Y> Join<X,Y> |
From.join(SingularAttribute<? super X,Y> attribute,
JoinType jt)
Create a join to the specified single-valued attribute
using the given join type.
|
<Y> CriteriaUpdate<T> |
CriteriaUpdate.set(SingularAttribute<? super T,Y> attribute,
Expression<? extends Y> value)
Update the value of the specified attribute.
|
<Y,X extends Y> |
CriteriaUpdate.set(SingularAttribute<? super T,Y> attribute,
X value)
Update the value of the specified attribute.
|
Modifier and Type | Method and Description |
---|---|
<Y> SingularAttribute<X,Y> |
IdentifiableType.getDeclaredId(Class<Y> type)
Return the attribute that corresponds to the id attribute
declared by the entity or mapped superclass.
|
SingularAttribute<X,?> |
ManagedType.getDeclaredSingularAttribute(String name)
Return the single-valued attribute declared by the managed
type that corresponds to the specified name.
|
<Y> SingularAttribute<X,Y> |
ManagedType.getDeclaredSingularAttribute(String name,
Class<Y> type)
Return the single-valued attribute declared by the
managed type that corresponds to the specified name and
Java type.
|
<Y> SingularAttribute<X,Y> |
IdentifiableType.getDeclaredVersion(Class<Y> type)
Return the attribute that corresponds to the version
attribute declared by the entity or mapped superclass.
|
<Y> SingularAttribute<? super X,Y> |
IdentifiableType.getId(Class<Y> type)
Return the attribute that corresponds to the id attribute of
the entity or mapped superclass.
|
SingularAttribute<? super X,?> |
ManagedType.getSingularAttribute(String name)
Return the single-valued attribute of the managed type that
corresponds to the specified name.
|
<Y> SingularAttribute<? super X,Y> |
ManagedType.getSingularAttribute(String name,
Class<Y> type)
Return the single-valued attribute of the managed
type that corresponds to the specified name and Java type.
|
<Y> SingularAttribute<? super X,Y> |
IdentifiableType.getVersion(Class<Y> type)
Return the attribute that corresponds to the version
attribute of the entity or mapped superclass.
|
Modifier and Type | Method and Description |
---|---|
Set<SingularAttribute<X,?>> |
ManagedType.getDeclaredSingularAttributes()
Return the single-valued attributes declared by the managed
type.
|
Set<SingularAttribute<? super X,?>> |
IdentifiableType.getIdClassAttributes()
Return the attributes corresponding to the id class of the
identifiable type.
|
Set<SingularAttribute<? super X,?>> |
ManagedType.getSingularAttributes()
Return the single-valued attributes of the managed type.
|
Modifier and Type | Class and Description |
---|---|
class |
SingularAttributeImpl<X,Y> |
static class |
SingularAttributeImpl.Identifier<X,Y>
Subclass used to simply instantiation of singular attributes representing an entity's
identifier.
|
static class |
SingularAttributeImpl.Version<X,Y>
Subclass used to simply instantiation of singular attributes representing an entity's
version.
|
Modifier and Type | Method and Description |
---|---|
<Y> SingularAttribute<X,Y> |
AbstractIdentifiableType.getDeclaredId(Class<Y> javaType) |
SingularAttribute<X,?> |
AbstractManagedType.getDeclaredSingularAttribute(String name) |
<Y> SingularAttribute<X,Y> |
AbstractManagedType.getDeclaredSingularAttribute(String name,
Class<Y> javaType) |
SingularAttribute<X,?> |
AbstractIdentifiableType.getDeclaredVersion()
For used to retrieve the declared version when populating the static metamodel.
|
<Y> SingularAttribute<X,Y> |
AbstractIdentifiableType.getDeclaredVersion(Class<Y> javaType) |
<Y> SingularAttribute<? super X,Y> |
AbstractIdentifiableType.getId(Class<Y> javaType) |
SingularAttribute<? super X,?> |
AbstractManagedType.getSingularAttribute(String name) |
<Y> SingularAttribute<? super X,Y> |
AbstractManagedType.getSingularAttribute(String name,
Class<Y> type) |
<Y> SingularAttribute<? super X,Y> |
AbstractIdentifiableType.getVersion(Class<Y> javaType) |
Modifier and Type | Method and Description |
---|---|
Set<SingularAttribute<X,?>> |
AbstractManagedType.getDeclaredSingularAttributes() |
Set<SingularAttribute<? super X,?>> |
AbstractIdentifiableType.getIdClassAttributes() |
Set<SingularAttribute<? super X,?>> |
AbstractIdentifiableType.getIdClassAttributesSafely()
A form of
AbstractIdentifiableType.getIdClassAttributes() which prefers to return null rather than throw exceptions |
Set<SingularAttribute<? super X,?>> |
AbstractManagedType.getSingularAttributes() |
Modifier and Type | Method and Description |
---|---|
protected <Y> boolean |
AbstractManagedType.isPrimitiveVariant(SingularAttribute<?,?> attribute,
Class<Y> javaType) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractIdentifiableType.Builder.applyIdClassAttributes(Set<SingularAttribute<? super X,?>> idClassAttributes) |
Modifier and Type | Method and Description |
---|---|
<Y> CriteriaUpdate<T> |
CriteriaUpdateImpl.set(SingularAttribute<? super T,Y> singularAttribute,
Expression<? extends Y> value) |
<Y,X extends Y> |
CriteriaUpdateImpl.set(SingularAttribute<? super T,Y> singularAttribute,
X value) |
Modifier and Type | Class and Description |
---|---|
static class |
MapKeyHelpers.MapKeyAttribute<K>
Defines an
Attribute modelling of a map-key. |
Modifier and Type | Method and Description |
---|---|
SingularAttribute<?,X> |
SingularAttributePath.getAttribute() |
SingularAttribute<? super O,?> |
SingularAttributeJoin.getAttribute() |
Modifier and Type | Method and Description |
---|---|
<Y> Fetch<X,Y> |
AbstractFromImpl.fetch(SingularAttribute<? super X,Y> singularAttribute) |
<Y> Fetch<X,Y> |
AbstractFromImpl.fetch(SingularAttribute<? super X,Y> attribute,
JoinType jt) |
<Y> Path<Y> |
AbstractPathImpl.get(SingularAttribute<? super X,Y> attribute) |
<Y> Join<X,Y> |
AbstractFromImpl.join(SingularAttribute<? super X,Y> singularAttribute) |
<Y> Join<X,Y> |
AbstractFromImpl.join(SingularAttribute<? super X,Y> attribute,
JoinType jt) |
Constructor and Description |
---|
SingularAttributeJoin(CriteriaBuilderImpl criteriaBuilder,
Class<X> javaType,
PathSource<O> pathSource,
SingularAttribute<? super O,?> joinAttribute,
JoinType joinType) |
SingularAttributePath(CriteriaBuilderImpl criteriaBuilder,
Class<X> javaType,
PathSource pathSource,
SingularAttribute<?,X> attribute) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.