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 |
CompoundSelection<X>
The
CompoundSelection interface defines a compound selection item
(tuple, array, or result of constructor). |
static interface |
CriteriaBuilder.Case<R>
Interface used to build general case expressions.
|
static interface |
CriteriaBuilder.Coalesce<T>
Interface used to build coalesce expressions.
|
static interface |
CriteriaBuilder.In<T>
Interface used to build in predicates.
|
static interface |
CriteriaBuilder.SimpleCase<C,R>
Interface used to build simple case expressions.
|
interface |
Expression<T>
Type for query expressions.
|
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 |
ParameterExpression<T>
Type of criteria query parameter expressions.
|
interface |
Path<X>
Represents a simple or compound attribute path from a
bound type or collection, and is a "primitive" expression.
|
interface |
PluralJoin<Z,C,E>
The
PluralJoin interface defines functionality
that is common to joins to all collection types. |
interface |
Predicate
The type of a simple or compound predicate: a conjunction or
disjunction of restrictions.
|
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 . |
interface |
Subquery<T>
The
Subquery interface defines functionality that is
specific to subqueries. |
Modifier and Type | Method and Description |
---|---|
Selection<X> |
Selection.alias(String name)
Assigns an alias to the selection item.
|
Selection<T> |
AbstractQuery.getSelection()
Return the selection of the query, or null if no selection
has been set.
|
Modifier and Type | Method and Description |
---|---|
List<Selection<?>> |
Selection.getCompoundSelectionItems()
Return the selection items composing a compound selection.
|
Modifier and Type | Method and Description |
---|---|
CompoundSelection<Object[]> |
CriteriaBuilder.array(Selection<?>... selections)
Create an array-valued selection item.
|
<Y> CompoundSelection<Y> |
CriteriaBuilder.construct(Class<Y> resultClass,
Selection<?>... selections)
Create a selection item corresponding to a constructor.
|
CriteriaQuery<T> |
CriteriaQuery.multiselect(Selection<?>... selections)
Specify the selection items that are to be returned in the
query result.
|
CriteriaQuery<T> |
CriteriaQuery.select(Selection<? extends T> selection)
Specify the item that is to be returned in the query result.
|
CompoundSelection<Tuple> |
CriteriaBuilder.tuple(Selection<?>... selections)
Create a tuple-valued selection item.
|
Modifier and Type | Method and Description |
---|---|
CriteriaQuery<T> |
CriteriaQuery.multiselect(List<Selection<?>> selectionList)
Specify the selection items that are to be returned in the
query result.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CollectionJoinImplementor<Z,X>
Specialization of
JoinImplementor for Collection typed attribute joins |
interface |
ExpressionImplementor<T>
Internal contract for implementations of the JPA
Expression contract. |
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 |
SelectionImplementor<X>
TODO : javadoc
|
interface |
SetJoinImplementor<Z,X>
Specialization of
JoinImplementor for Set typed attribute joins |
Modifier and Type | Class and Description |
---|---|
class |
CriteriaSubqueryImpl<T>
The Hibernate implementation of the JPA
Subquery contract. |
static class |
CriteriaSubqueryImpl.SubquerySelection<S> |
Modifier and Type | Method and Description |
---|---|
Selection<? extends T> |
QueryStructure.getSelection() |
Selection<T> |
CriteriaQueryImpl.getSelection() |
Modifier and Type | Method and Description |
---|---|
void |
CriteriaQueryImpl.applySelection(Selection<? extends T> selection) |
CompoundSelection<Object[]> |
CriteriaBuilderImpl.array(Selection<?>... selections) |
<Y> CompoundSelection<Y> |
CriteriaBuilderImpl.construct(Class<Y> result,
Selection<?>... selections) |
CriteriaQuery<T> |
CriteriaQueryImpl.multiselect(Selection<?>... selections) |
static void |
ParameterContainer.Helper.possibleParameter(Selection selection,
ParameterRegistry registry) |
CriteriaQuery<T> |
CriteriaQueryImpl.select(Selection<? extends T> selection) |
void |
QueryStructure.setSelection(Selection<? extends T> selection) |
CompoundSelection<Tuple> |
CriteriaBuilderImpl.tuple(Selection<?>... selections) |
Modifier and Type | Method and Description |
---|---|
<Y> CompoundSelection<Y> |
CriteriaBuilderImpl.array(Class<Y> type,
List<Selection<?>> selections)
Version of
CriteriaBuilderImpl.array(Selection[]) taking a list of selections,
as well as the type of array. |
CompoundSelection<Object[]> |
CriteriaBuilderImpl.array(List<Selection<?>> selections)
Version of
CriteriaBuilderImpl.array(Selection[]) taking a list of selections. |
<Y> CompoundSelection<Y> |
CriteriaBuilderImpl.construct(Class<Y> result,
List<Selection<?>> selections)
Version of
CriteriaBuilderImpl.construct(Class,Selection[]) taking the
to-be-constructed type as well as a list of selections. |
CriteriaQuery<T> |
CriteriaQueryImpl.multiselect(List<Selection<?>> selections) |
CompoundSelection<Tuple> |
CriteriaBuilderImpl.tuple(List<Selection<?>> selections)
Version of
CriteriaBuilderImpl.tuple(Selection[]) taking a list. |
Modifier and Type | Interface and Description |
---|---|
interface |
BinaryOperatorExpression<T>
Contract for operators with two operands.
|
interface |
UnaryOperatorExpression<T>
Contract for operators with a single operand.
|
Modifier and Type | Class and Description |
---|---|
class |
BinaryArithmeticOperation<N extends Number>
Models standard arithmetc operations with two operands.
|
class |
CaseLiteralExpression<T> |
class |
CoalesceExpression<T>
Models an ANSI SQL COALESCE expression.
|
class |
CompoundSelectionImpl<X>
The Hibernate implementation of the JPA
CompoundSelection
contract. |
class |
ConcatExpression
A string concatenation.
|
class |
DelegatedExpressionImpl<T>
Implementation of
Expression wraps another Expression and delegates most of its
functionality to that wrapped Expression |
class |
EntityTypeExpression<T>
TODO : javadoc
|
class |
ExpressionImpl<T>
Models an expression in the criteria query language.
|
class |
ListIndexExpression
An expression for referring to the index of a list.
|
class |
LiteralExpression<T>
Represents a literal expression.
|
class |
MapEntryExpression<K,V>
TODO : javadoc
|
class |
NullifExpression<T>
Models an ANSI SQL NULLIF expression.
|
class |
NullLiteralExpression<T>
Represents a NULLliteral expression.
|
class |
ParameterExpressionImpl<T>
Defines a parameter specification, or the information about a parameter (where it occurs, what is
its type, etc).
|
class |
PathTypeExpression<T>
Used to construct the result of
Path.type() |
class |
SearchedCaseExpression<R>
Models what ANSI SQL terms a searched case expression.
|
class |
SelectionImpl<X>
The Hibernate implementation of the JPA
Selection
contract. |
class |
SimpleCaseExpression<C,R>
Models what ANSI SQL terms a simple case statement.
|
class |
SizeOfCollectionExpression<C extends Collection>
Represents a "size of" expression in regards to a persistent collection; the implication is
that of a subquery.
|
class |
SubqueryComparisonModifierExpression<Y>
Represents a
SubqueryComparisonModifierExpression.Modifier.ALL , SubqueryComparisonModifierExpression.Modifier.ANY , SubqueryComparisonModifierExpression.Modifier.SOME modifier appplied to a subquery as
part of a comparison. |
class |
UnaryArithmeticOperation<T>
Models unary arithmetic operation (unary plus and unary minus).
|
Modifier and Type | Method and Description |
---|---|
Selection<X> |
SelectionImpl.alias(String alias) |
Selection<T> |
DelegatedExpressionImpl.alias(String alias) |
Modifier and Type | Method and Description |
---|---|
List<Selection<?>> |
SelectionImpl.getCompoundSelectionItems() |
List<Selection<?>> |
DelegatedExpressionImpl.getCompoundSelectionItems() |
List<Selection<?>> |
CompoundSelectionImpl.getCompoundSelectionItems() |
Constructor and Description |
---|
CompoundSelectionImpl(CriteriaBuilderImpl criteriaBuilder,
Class<X> javaType,
List<Selection<?>> selectionItems) |
Modifier and Type | Interface and Description |
---|---|
interface |
FunctionExpression<T>
Contract for expressions which model a SQL function call.
|
Modifier and Type | Class and Description |
---|---|
class |
AbsFunction<N extends Number>
Models the ANSI SQL ABS function.
|
class |
AggregationFunction<T>
Models SQL aggregation functions (MIN, MAX, COUNT, etc).
|
static class |
AggregationFunction.AVG
Implementation of a AVG function providing convenience in construction.
|
static class |
AggregationFunction.COUNT
Implementation of a COUNT function providing convenience in construction.
|
static class |
AggregationFunction.GREATEST<X extends Comparable<X>>
Models the MAX function in terms of non-numeric expressions.
|
static class |
AggregationFunction.LEAST<X extends Comparable<X>>
Models the MIN function in terms of non-numeric expressions.
|
static class |
AggregationFunction.MAX<N extends Number>
Implementation of a MAX function providing convenience in construction.
|
static class |
AggregationFunction.MIN<N extends Number>
Implementation of a MIN function providing convenience in construction.
|
static class |
AggregationFunction.SUM<N extends Number>
Implementation of a SUM function providing convenience in construction.
|
class |
BasicFunctionExpression<X>
Models the basic concept of a SQL function.
|
class |
CastFunction<T,Y>
Models a CAST function.
|
class |
CurrentDateFunction
Models the ANSI SQL CURRENT_DATE function.
|
class |
CurrentTimeFunction
Models the ANSI SQL CURRENT_TIME function.
|
class |
CurrentTimestampFunction
Models the ANSI SQL CURRENT_TIMESTAMP function.
|
class |
LengthFunction
Models the ANSI SQL LENGTH function.
|
class |
LocateFunction
Models the ANSI SQL LOCATE function.
|
class |
LowerFunction
Models the ANSI SQL LOWER function.
|
class |
ParameterizedFunctionExpression<X>
Support for functions with parameters.
|
class |
SqrtFunction
Models the ANSI SQL SQRT function.
|
class |
SubstringFunction
Models the ANSI SQL SUBSTRING function.
|
class |
TrimFunction
Models the ANSI SQL TRIM function.
|
class |
UpperFunction
Models the ANSI SQL UPPER function.
|
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
Path.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
Path.get(SingularAttribute) call |
static class |
SingularAttributePath.TreatedSingularAttributePath<T> |
Modifier and Type | Interface and Description |
---|---|
interface |
PredicateImplementor |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPredicateImpl
Basic template support for
Predicate implementors providing
expression handling, negation and conjunction/disjunction handling. |
class |
AbstractSimplePredicate
TODO : javadoc
|
class |
BetweenPredicate<Y>
Models a BETWEEN
Predicate . |
class |
BooleanAssertionPredicate
Predicate to assert the explicit value of a boolean expression:
x = true
x = false
x <> true
x <> false
|
class |
BooleanExpressionPredicate
Defines a
Predicate used to wrap an Expression<Boolean> . |
class |
BooleanStaticAssertionPredicate
Predicate used to assert a static boolean condition.
|
class |
ComparisonPredicate
Models a basic relational comparison predicate.
|
class |
CompoundPredicate
A compound
predicate is a grouping of other predicates in order to convert
either a conjunction (logical AND) or a disjunction (logical OR). |
class |
ExistsPredicate
Models an EXISTS(
|
class |
ExplicitTruthValueCheck
ANSI-SQL defines TRUE, FALSE and UNKNOWN as truth values.
|
class |
InPredicate<T>
Models an [NOT] IN restriction
|
class |
IsEmptyPredicate<C extends Collection>
Models an IS [NOT] EMPTY restriction
|
class |
LikePredicate
Models a SQL LIKE expression.
|
class |
MemberOfPredicate<E,C extends Collection<E>>
Models an [NOT] MEMBER OF restriction
|
class |
NegatedPredicateWrapper |
class |
NullnessPredicate
Defines a
Predicate for checking the
nullness state of an expression, aka an IS [NOT] NULL predicate. |
Modifier and Type | Method and Description |
---|---|
List<Selection<?>> |
AbstractPredicateImpl.getCompoundSelectionItems() |
Modifier and Type | Method and Description |
---|---|
<T> QueryImpl<T> |
HibernateEntityManagerImplementor.createQuery(String jpaqlString,
Class<T> resultClass,
Selection selection,
HibernateEntityManagerImplementor.QueryOptions queryOptions)
Used during "compiling" a JPA criteria query.
|
<T> QueryImpl<T> |
AbstractEntityManagerImpl.createQuery(String jpaqlString,
Class<T> resultClass,
Selection selection,
HibernateEntityManagerImplementor.QueryOptions queryOptions) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.