Top Description Interfaces Enums
[default module]

Package javax.persistence.criteria


Java Persistence Criteria API

Interface Summary

Modifier and TypeInterface and Description
public interface
AbstractQuery<
the type of the result
T
>

The AbstractQuery interface defines functionality that is common to both top-level queries and subqueries.

public interface
CollectionJoin<
the source type of the join
Z
,
the element type of the target Collection
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.

public interface
CommonAbstractCriteria

The CommonAbstractCriteria interface defines functionality that is common to both top-level criteria queries and subqueries as well as to update and delete criteria operations.

public interface
CompoundSelection<
the type of the selection item
X
>

The CompoundSelection interface defines a compound selection item (tuple, array, or result of constructor).

public interface
CriteriaBuilder

Used to construct criteria queries, compound selections, expressions, predicates, orderings.

public interface
CriteriaDelete<
the entity type that is the target of the delete
T
>

The CriteriaDelete interface defines functionality for performing bulk delete operations using the Criteria API

Criteria API bulk delete operations map directly to database delete operations.

public interface
CriteriaQuery<
the type of the defined result
T
>

The CriteriaQuery interface defines functionality that is specific to top-level queries.

public interface
CriteriaUpdate<
the entity type that is the target of the update
T
>

The CriteriaUpdate interface defines functionality for performing bulk update operations using the Criteria API.

public interface
Expression<
the type of the expression
T
>

Type for query expressions.

public interface
Fetch<
the source type of the fetch
Z
,
the target type of the fetch
X
>

Represents a join-fetched association or attribute.

public interface
FetchParent<
the source type
Z
,
the target type
X
>

Represents an element of the from clause which may function as the parent of Fetches.

public interface
From<
the source type
Z
,
the target type
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.

public interface
Join<
the source type of the join
Z
,
the target type of the join
X
>

A join to an entity, embeddable, or basic type.

public interface
ListJoin<
the source type of the join
Z
,
the element type of the target List
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.

public interface
MapJoin<
the source type of the join
Z
,
the type of the target Map key
K
,
the type of the target Map value
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.

public interface
Order

An object that defines an ordering over the query results.

public interface
ParameterExpression<
the type of the parameter expression
T
>

Type of criteria query parameter expressions.

public interface
Path<
the type referenced by the path
X
>

Represents a simple or compound attribute path from a bound type or collection, and is a "primitive" expression.

public interface
PluralJoin<
the source type
Z
,
the collection type
C
,
the element type of the collection
E
>

The PluralJoin interface defines functionality that is common to joins to all collection types.

public interface
Predicate

The type of a simple or compound predicate: a conjunction or disjunction of restrictions.

public interface
Root<
the entity type referenced by the root
X
>

A root type in the from clause.

public interface
Selection<
the type of the selection item
X
>

The Selection interface defines an item that is to be returned in a query result.

public interface
SetJoin<
the source type of the join
Z
,
the element type of the target Set
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.

public interface
Subquery<
the type of the selection item.
T
>

The Subquery interface defines functionality that is specific to subqueries.

Enum Summary

Modifier and TypeEnum and Description
public enum
JoinType

Defines the three types of joins.