Classes

  ClassDescription
AbstractCriterion
Base class for ICriterion implementations.
AbstractEmptinessExpression
AggregateProjection
An Aggregation
AliasedProjection
AndExpression
An LogicalExpression that combines two ICriterions with an and between them.
AvgProjection
BetweenExpression
An ICriterion that represents a "between" constraint.
Conjunction
An ICriterion that Junctions together multiple ICriterions with an and
CountProjection
A Count
DetachedCriteria
Some applications need to create criteria queries in "detached mode", where the Hibernate session is not available. This class may be instantiated anywhere, and then a ICriteria may be obtained by passing a session to GetExecutableCriteria(). All methods have the same semantics and behavior as the corresponding methods of the ICriteria interface.
Disjunction
An ICriterion that Junctions together multiple ICriterions with an or
Distinct
EqExpression
An ICriterion that represents an "equal" constraint.
EqPropertyExpression
An ICriterion that represents an "equal" constraint between two properties.
Example
Support for Query By Example.
ExistsSubqueryExpression
Expression
The Expression namespace may be used by applications as a framework for building new kinds of ICriterion. However, it is intended that most applications will simply use the built-in criterion types via the static factory methods of this class.
GeExpression
An ICriterion that represents an "greater than or equal" constraint.
GePropertyExpression
An ICriterion that represents an "greater than or equal" constraint between two properties.
GtExpression
An ICriterion that represents an "greater than" constraint.
GtPropertyExpression
An ICriterion that represents an "greater than" constraint between two properties.
IdentifierEqExpression
An identifier constraint
IdentifierProjection
InExpression
An ICriterion that constrains the property to a specified list of values.
InsensitiveLikeExpression
An ICriterion that represents an "like" constraint that is not case sensitive.
IsEmptyExpression
An ICriterion that represents empty association constraint.
IsNotEmptyExpression
An ICriterion that represents non-empty association constraint.
Junction
A sequence of logical ICriterions combined by some associative logical operator.
LeExpression
An ICriterion that represents an "less than or equal" constraint.
LePropertyExpression
An ICriterion that represents an "less than or equal" constraint between two properties.
LikeExpression
An ICriterion that represents an "like" constraint.
LogicalExpression
An ICriterion that combines two ICriterions with a operator (either "and" or "or") between them.
LtExpression
An ICriterion that represents an "less than" constraint.
LtPropertyExpression
An ICriterion that represents an "less than" constraint between two properties.
MatchMode
Represents an strategy for matching strings using "like".
NotExpression
An ICriterion that negates another ICriterion.
NotNullExpression
An ICriterion that represents "not null" constraint.
NullExpression
An ICriterion that represents "null" constraint.
Order
Represents an order imposed upon a ICriteria result set.
OrExpression
An ICriterion that combines two ICriterions with an "or" between them.
ProjectionList
Projections
The criterion package may be used by applications as a framework for building new kinds of Projection. However, it is intended that most applications will simply use the built-in projection types via the static factory methods of this class.

The factory methods that take an alias allow the projected value to be referred to by criterion and order instances.
Property
A factory for property-specific AbstractCriterion and projection instances
PropertyExpression
Superclass for an ICriterion that represents a constraint between two properties (with SQL binary operators).
PropertyProjection
A property value, or grouped property value
PropertySubqueryExpression
A comparison between a property value in the outer query and the result of a subquery
RowCountProjection
SimpleExpression
The base class for an ICriterion that compares a single Property to a value.
SimpleProjection
A single-column projection that may be aliased
SimpleSubqueryExpression
A comparison between a constant value and the the result of a subquery
SQLCriterion
An ICriterion that creates a SQLExpression. The string {alias} will be replaced by the alias of the root entity.
SQLProjection
A SQL fragment. The string {alias} will be replaced by the alias of the root entity.
Subqueries
Factory class for AbstractCriterion instances that represent involving subqueries. Expression Projection AbstractCriterion
SubqueryExpression

Interfaces

  InterfaceDescription
Example..::.IPropertySelector
A strategy for choosing property values for inclusion in the query criteria
ICriteriaQuery
ICriterion
An object-oriented representation of a query criterion that may be used as a constraint in a ICriteria query.
IProjection