程序包 org.hibernate.criterion
A framework for defining restriction criteria and order criteria.
-
接口概要 接口 说明 CriteriaQuery An instance of CriteriaQuery is passed to criterion, order and projection instances when actually compiling and executing the query.CriteriaSpecification Commonality between different types of Criteria.Criterion An object-oriented representation of a query criterion that may be used as a restriction in a Criteria query.EnhancedProjection An "enhanced" Projection for aCriteriaquery.Example.PropertySelector A strategy for choosing property values for inclusion in the query criteria.ParameterInfoCollector Projection An object-oriented representation of a query result set projection in aCriteriaquery. -
类概要 类 说明 AbstractEmptinessExpression Base expression implementation for (not) emptiness checking of collection propertiesAggregateProjection Base class for standard aggregation functions.AliasedProjection Represents a projection that specifies an aliasAvgProjection An avg() projectionBetweenExpression Constrains a property to between two valuesConjunction Defines a conjunction (AND series).CountProjection A count projectionDetachedCriteria Models a detached form of a Criteria (not associated with a Session).Disjunction Defines a disjunction (OR series).Distinct A wrappedProjection that is a wrapper around other projections to apply distinction.EmptyExpression An expression asserting that a collection property is emptyExample Support for query by example.Example.AllPropertySelector Property selector that includes all propertiesExample.NotNullOrZeroPropertySelector Property selector that includes only properties that are notnulland non-zero (if numeric)Example.NotNullPropertySelector Property selector that includes only properties that are notnullExistsSubqueryExpression Expression that checks the existence of rows in a sub-queryExpression 已过时。 UseRestrictionsinsteadIdentifierEqExpression An identifier constraintIdentifierProjection A property value, or grouped property valueIlikeExpression 已过时。 PreferLikeExpressionwhich now has case-insensitivity capability.InExpression Constrains the property to a specified list of valuesJunction A sequence of a logical expressions combined by some associative logical operatorLikeExpression A criterion representing a "like" expressionLogicalExpression Superclass of binary logical expressionsNaturalIdentifier An expression pertaining to an entity's defined natural identifierNotEmptyExpression An expression asserting that a collection property is emptyNotExpression A criterion that is a wrapper for another, negating the wrapped one.NotNullExpression Constrains a property to be non-nullNullExpression Constrains a property to be nullOrder Represents an ordering imposed upon the results of a CriteriaProjectionList A projection that wraps other projections to allow selecting multiple values.Projections The criterion package may be used by applications as a framework for building new kinds of Projection.PropertiesSubqueryExpression A comparison between several properties value in the outer query and the result of a multicolumn subquery.Property A factory for property-specific criterion and projection instancesPropertyExpression superclass for comparisons between two properties (with SQL binary operators)PropertyProjection A property value, or grouped property valuePropertySubqueryExpression A comparison between a property value in the outer query and the result of a subqueryRestrictions The criterion package may be used by applications as a framework for building new kinds of Criterion.RowCountProjection A row countSimpleExpression superclass for "simple" comparisons (with SQL binary operators)SimpleProjection A single-column projection that may be aliasedSimpleSubqueryExpression A comparison between a constant value and the the result of a subquerySizeExpression Used to define a restriction on a collection property based on its size.SQLCriterion A SQL fragment.SQLProjection A SQL fragment.Subqueries Factory class for criterion instances that represent expressions involving subqueries.SubqueryExpression A criterion that involves a subquery -
枚举概要 枚举 说明 Junction.Nature The type of junctionMatchMode Represents a strategy for matching strings using "like".