Package | Description |
---|---|
javax.persistence.criteria | |
org.hibernate.jpa.criteria | |
org.hibernate.jpa.criteria.path |
Modifier and Type | Interface and Description |
---|---|
interface |
CollectionJoin<Z,E>
The
CollectionJoin interface is the type of the result of
joining to a collection over an association or element
collection that has been specified as a java.util.Collection . |
interface |
From<Z,X>
Represents a bound type, usually an entity that appears in
the from clause, but may also be an embeddable belonging to
an entity in the from clause.
|
interface |
Join<Z,X>
A join to an entity, embeddable, or basic type.
|
interface |
ListJoin<Z,E>
The
ListJoin interface is the type of the result of
joining to a collection over an association or element
collection that has been specified as a java.util.List . |
interface |
MapJoin<Z,K,V>
The
MapJoin interface is the type of the result of
joining to a collection over an association or element
collection that has been specified as a java.util.Map . |
interface |
PluralJoin<Z,C,E>
The
PluralJoin interface defines functionality
that is common to joins to all collection types. |
interface |
Root<X>
A root type in the from clause.
|
interface |
SetJoin<Z,E>
The
SetJoin interface is the type of the result of
joining to a collection over an association or element
collection that has been specified as a java.util.Set . |
Modifier and Type | Method and Description |
---|---|
<Y> Path<Y> |
Path.get(SingularAttribute<? super X,Y> attribute)
Create a path corresponding to the referenced
single-valued attribute.
|
<Y> Path<Y> |
Path.get(String attributeName)
Create a path corresponding to the referenced attribute.
|
Path<?> |
Path.getParentPath()
Return the parent "node" in the path or null if no parent.
|
Path<K> |
MapJoin.key()
Create a path expression that corresponds to the map key.
|
<X,T extends X> |
CriteriaBuilder.treat(Path<X> path,
Class<T> type)
Downcast Path object to the specified type.
|
Path<V> |
MapJoin.value()
Create a path expression that corresponds to the map value.
|
Modifier and Type | Method and Description |
---|---|
<Y> CriteriaUpdate<T> |
CriteriaUpdate.set(Path<Y> attribute,
Expression<? extends Y> value)
Update the value of the specified attribute.
|
<Y,X extends Y> |
CriteriaUpdate.set(Path<Y> attribute,
X value)
Update the value of the specified attribute.
|
<X,T extends X> |
CriteriaBuilder.treat(Path<X> path,
Class<T> type)
Downcast Path object to the specified type.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CollectionJoinImplementor<Z,X>
Specialization of
JoinImplementor for Collection typed attribute joins |
interface |
FromImplementor<Z,X>
Implementation contract for the JPA
From interface. |
interface |
JoinImplementor<Z,X>
|
interface |
ListJoinImplementor<Z,X>
Specialization of
JoinImplementor for List typed attribute joins |
interface |
MapJoinImplementor<Z,K,V>
Specialization of
JoinImplementor for Map typed attribute joins |
interface |
PathImplementor<X>
Implementation contract for the JPA
Path interface. |
interface |
PathSource<X>
Implementation contract for things which can be the source (parent, left-hand-side, etc) of a path
|
interface |
SetJoinImplementor<Z,X>
Specialization of
JoinImplementor for Set typed attribute joins |
Modifier and Type | Method and Description |
---|---|
<X,T extends X> |
CriteriaBuilderImpl.treat(Path<X> path,
Class<T> type) |
Modifier and Type | Method and Description |
---|---|
protected <Y> void |
CriteriaUpdateImpl.addAssignment(Path<Y> attributePath,
Expression<? extends Y> value) |
<Y> CriteriaUpdate<T> |
CriteriaUpdateImpl.set(Path<Y> attributePath,
Expression<? extends Y> value) |
<Y,X extends Y> |
CriteriaUpdateImpl.set(Path<Y> attributePath,
X value) |
<X,T extends X> |
CriteriaBuilderImpl.treat(Path<X> path,
Class<T> type) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFromImpl<Z,X>
Convenience base class for various
From implementations. |
class |
AbstractJoinImpl<Z,X>
Convenience base class for various
Join implementations. |
class |
AbstractPathImpl<X>
Convenience base class for various
Path implementations. |
class |
CollectionAttributeJoin<O,E>
Models a join based on a plural association attribute.
|
static class |
CollectionAttributeJoin.TreatedCollectionAttributeJoin<O,T> |
class |
ListAttributeJoin<O,E>
Models a join based on a list-style plural association attribute.
|
static class |
ListAttributeJoin.TreatedListAttributeJoin<O,T> |
class |
MapAttributeJoin<O,K,V>
Models a join based on a map-style plural association attribute.
|
static class |
MapAttributeJoin.TreatedMapAttributeJoin<O,K,T> |
static class |
MapKeyHelpers.MapKeyPath<K>
Models a path to a map key.
|
static class |
MapKeyHelpers.MapKeySource<K,V>
Defines a path for the map which can then be used to represent the source of the
map key "attribute".
|
class |
PluralAttributeJoinSupport<O,C,E>
Support for defining joins to plural attributes (JPA requires typing based on
the specific collection type so we cannot really implement all support in a
single class)
|
class |
PluralAttributePath<X>
Models a path for a
PluralAttribute generally obtained from a
get(javax.persistence.metamodel.SingularAttribute<? super X, Y>) call |
class |
RootImpl<X>
Hibernate implementation of the JPA
Root contract |
static class |
RootImpl.TreatedRoot<T> |
class |
SetAttributeJoin<O,E>
Models a join based on a set-style plural association attribute.
|
static class |
SetAttributeJoin.TreatedSetAttributeJoin<O,T> |
class |
SingularAttributeJoin<O,X>
Models a join based on a singular attribute
|
static class |
SingularAttributeJoin.TreatedSingularAttributeJoin<O,T> |
class |
SingularAttributePath<X>
Models a path for a
SingularAttribute generally obtained from a
get(SingularAttribute) call |
static class |
SingularAttributePath.TreatedSingularAttributePath<T> |
Modifier and Type | Method and Description |
---|---|
<Y> Path<Y> |
AbstractPathImpl.get(SingularAttribute<? super X,Y> attribute) |
<Y> Path<Y> |
AbstractPathImpl.get(String attributeName) |
Path<K> |
MapAttributeJoin.key() |
protected Path |
AbstractPathImpl.resolveCachedAttributePath(String attributeName) |
Path<V> |
MapAttributeJoin.value() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractPathImpl.registerAttributePath(String attributeName,
Path path) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.