Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.criterion |
A framework for defining restriction criteria and order criteria.
|
org.hibernate.engine.spi | |
org.hibernate.envers.internal.revisioninfo | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.loader.criteria |
This package defines the criteria query compiler and loader
|
org.hibernate.search | |
org.hibernate.search.jpa | |
org.hibernate.search.query.hibernate.impl |
Modifier and Type | Method and Description |
---|---|
Criteria |
Criteria.add(Criterion criterion)
Add a
restriction to constrain the results to be
retrieved. |
Criteria |
Criteria.addOrder(Order order)
Add an
ordering to the result set. |
Criteria |
Criteria.addQueryHint(String hint)
Add a DB query hint to the SQL.
|
Criteria |
Criteria.createAlias(String associationPath,
String alias)
Join an association, assigning an alias to the joined association.
|
Criteria |
Criteria.createAlias(String associationPath,
String alias,
int joinType)
Deprecated.
|
Criteria |
Criteria.createAlias(String associationPath,
String alias,
int joinType,
Criterion withClause)
Deprecated.
|
Criteria |
Criteria.createAlias(String associationPath,
String alias,
JoinType joinType)
Join an association using the specified join-type, assigning an alias
to the joined association.
|
Criteria |
Criteria.createAlias(String associationPath,
String alias,
JoinType joinType,
Criterion withClause)
Join an association using the specified join-type, assigning an alias
to the joined association.
|
Criteria |
SharedSessionContract.createCriteria(Class persistentClass)
Create
Criteria instance for the given class (entity or subclasses/implementors). |
Criteria |
SharedSessionContract.createCriteria(Class persistentClass,
String alias)
Create
Criteria instance for the given class (entity or subclasses/implementors), using a specific
alias. |
Criteria |
SharedSessionContract.createCriteria(String entityName)
Create
Criteria instance for the given entity name. |
Criteria |
Criteria.createCriteria(String associationPath)
Create a new Criteria, "rooted" at the associated entity.
|
Criteria |
Criteria.createCriteria(String associationPath,
int joinType)
Deprecated.
|
Criteria |
Criteria.createCriteria(String associationPath,
JoinType joinType)
Create a new Criteria, "rooted" at the associated entity, using the
specified join type.
|
Criteria |
SharedSessionContract.createCriteria(String entityName,
String alias)
Create
Criteria instance for the given entity name, using a specific alias. |
Criteria |
Criteria.createCriteria(String associationPath,
String alias)
Create a new Criteria, "rooted" at the associated entity,
assigning the given alias.
|
Criteria |
Criteria.createCriteria(String associationPath,
String alias,
int joinType)
Deprecated.
|
Criteria |
Criteria.createCriteria(String associationPath,
String alias,
int joinType,
Criterion withClause)
|
Criteria |
Criteria.createCriteria(String associationPath,
String alias,
JoinType joinType)
Create a new Criteria, "rooted" at the associated entity,
assigning the given alias and using the specified join type.
|
Criteria |
Criteria.createCriteria(String associationPath,
String alias,
JoinType joinType,
Criterion withClause)
Create a new Criteria, "rooted" at the associated entity,
assigning the given alias and using the specified join type.
|
Criteria |
Criteria.setCacheable(boolean cacheable)
Enable caching of this query result, provided query caching is enabled
for the underlying session factory.
|
Criteria |
Criteria.setCacheMode(CacheMode cacheMode)
Override the cache mode for this particular query.
|
Criteria |
Criteria.setCacheRegion(String cacheRegion)
Set the name of the cache region to use for query result caching.
|
Criteria |
Criteria.setComment(String comment)
Add a comment to the generated SQL.
|
Criteria |
Criteria.setFetchMode(String associationPath,
FetchMode mode)
Specify an association fetching strategy for an association or a
collection of values.
|
Criteria |
Criteria.setFetchSize(int fetchSize)
Set a fetch size for the underlying JDBC query.
|
Criteria |
Criteria.setFirstResult(int firstResult)
Set the first result to be retrieved.
|
Criteria |
Criteria.setFlushMode(FlushMode flushMode)
Override the flush mode for this particular query.
|
Criteria |
Criteria.setLockMode(LockMode lockMode)
Set the lock mode of the current entity.
|
Criteria |
Criteria.setLockMode(String alias,
LockMode lockMode)
Set the lock mode of the aliased entity.
|
Criteria |
Criteria.setMaxResults(int maxResults)
Set a limit upon the number of objects to be retrieved.
|
Criteria |
Criteria.setProjection(Projection projection)
Used to specify that the query results will be a projection (scalar in
nature).
|
Criteria |
Criteria.setReadOnly(boolean readOnly)
Set the read-only/modifiable mode for entities and proxies
loaded by this Criteria.
|
Criteria |
Criteria.setResultTransformer(ResultTransformer resultTransformer)
Set a strategy for handling the query results.
|
Criteria |
Criteria.setTimeout(int timeout)
Set a timeout for the underlying JDBC query.
|
Modifier and Type | Method and Description |
---|---|
Criteria |
DetachedCriteria.getExecutableCriteria(Session session)
Get an executable instance of Criteria to actually run the query.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Example.addComponentTypedValues(String path,
Object component,
CompositeType type,
List<TypedValue> list,
Criteria criteria,
CriteriaQuery criteriaQuery) |
protected void |
Example.appendComponentCondition(String path,
Object component,
CompositeType type,
Criteria criteria,
CriteriaQuery criteriaQuery,
StringBuilder buf) |
protected void |
Example.appendPropertyCondition(String propertyName,
Object propertyValue,
Criteria criteria,
CriteriaQuery cq,
StringBuilder buf) |
protected List |
CountProjection.buildFunctionParameterList(Criteria criteria,
CriteriaQuery criteriaQuery) |
protected List |
AggregateProjection.buildFunctionParameterList(Criteria criteria,
CriteriaQuery criteriaQuery) |
String[] |
CriteriaQuery.findColumns(String propertyPath,
Criteria criteria)
Get the names of the columns mapped by a property path; if the property path is not found in criteria, try
the "outer" query.
|
String |
CriteriaQuery.getColumn(Criteria criteria,
String propertyPath)
Resolve a property path to the name of the column it maps to.
|
String[] |
SimpleProjection.getColumnAliases(int loc,
Criteria criteria,
CriteriaQuery criteriaQuery) |
String[] |
ProjectionList.getColumnAliases(int loc,
Criteria criteria,
CriteriaQuery criteriaQuery) |
String[] |
EnhancedProjection.getColumnAliases(int position,
Criteria criteria,
CriteriaQuery criteriaQuery)
Get the SQL column aliases used by this projection for the columns it writes for inclusion into the
SELECT clause (
Projection.toSqlString(org.hibernate.Criteria, int, org.hibernate.criterion.CriteriaQuery) . |
String[] |
Distinct.getColumnAliases(int loc,
Criteria criteria,
CriteriaQuery criteriaQuery) |
String[] |
AliasedProjection.getColumnAliases(int loc,
Criteria criteria,
CriteriaQuery criteriaQuery) |
String[] |
SimpleProjection.getColumnAliases(String alias,
int loc,
Criteria criteria,
CriteriaQuery criteriaQuery) |
String[] |
ProjectionList.getColumnAliases(String alias,
int loc,
Criteria criteria,
CriteriaQuery criteriaQuery) |
String[] |
EnhancedProjection.getColumnAliases(String alias,
int position,
Criteria criteria,
CriteriaQuery criteriaQuery)
Get the SQL column aliases used by this projection for the columns it writes for inclusion into the
SELECT clause (
Projection.toSqlString(org.hibernate.Criteria, int, org.hibernate.criterion.CriteriaQuery) for a particular criteria-level alias. |
String[] |
Distinct.getColumnAliases(String alias,
int loc,
Criteria criteria,
CriteriaQuery criteriaQuery) |
String[] |
AliasedProjection.getColumnAliases(String alias,
int loc,
Criteria criteria,
CriteriaQuery criteriaQuery) |
int |
SimpleProjection.getColumnCount(Criteria criteria,
CriteriaQuery criteriaQuery)
Count the number of columns this projection uses.
|
String[] |
CriteriaQuery.getColumns(String propertyPath,
Criteria criteria)
Resolve a property path to the names of the columns it maps to.
|
String[] |
CriteriaQuery.getColumnsUsingProjection(Criteria criteria,
String propertyPath)
Get the names of the columns mapped by a property path.
|
String |
CriteriaQuery.getEntityName(Criteria criteria)
Get the entity name of an entity
|
String |
CriteriaQuery.getEntityName(Criteria criteria,
String propertyPath)
Get the entity name of an entity, taking into account the qualifier of the property path
|
String[] |
CriteriaQuery.getIdentifierColumns(Criteria criteria)
Get the identifier column names of this entity
|
Type |
CriteriaQuery.getIdentifierType(Criteria criteria)
Get the identifier type of this entity
|
String |
CriteriaQuery.getSQLAlias(Criteria criteria)
Get the root table alias of an entity
|
String |
CriteriaQuery.getSQLAlias(Criteria criteria,
String propertyPath)
Get the root table alias of an entity, taking into account
the qualifier of the property path
|
Type |
CriteriaQuery.getType(Criteria criteria,
String propertyPath)
Get the type of a property path.
|
TypedValue |
CriteriaQuery.getTypedIdentifierValue(Criteria criteria,
Object value)
Build a TypedValue for the given identifier value.
|
TypedValue |
CriteriaQuery.getTypedValue(Criteria criteria,
String propertyPath,
Object value)
Build a typed-value for the property/value combo.
|
TypedValue[] |
SubqueryExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
SizeExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
SimpleSubqueryExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
SimpleExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
SQLCriterion.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
PropertyExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
NullExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
NotNullExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
NotExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
NaturalIdentifier.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
LogicalExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
LikeExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
Junction.getTypedValues(Criteria crit,
CriteriaQuery criteriaQuery) |
TypedValue[] |
InExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
IlikeExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery)
Deprecated.
|
TypedValue[] |
IdentifierEqExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
Example.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
Criterion.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery)
Return typed values for all parameters in the rendered SQL fragment
|
TypedValue[] |
BetweenExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
TypedValue[] |
AbstractEmptinessExpression.getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
SQLProjection.getTypes(Criteria crit,
CriteriaQuery criteriaQuery) |
Type[] |
RowCountProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
PropertyProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
ProjectionList.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
Projection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery)
Types returned by the rendered SQL
fragment . |
Type[] |
IdentifierProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
Distinct.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
AliasedProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
AggregateProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
SimpleProjection.getTypes(String alias,
Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
SQLProjection.getTypes(String alias,
Criteria crit,
CriteriaQuery criteriaQuery) |
Type[] |
ProjectionList.getTypes(String alias,
Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
Projection.getTypes(String alias,
Criteria criteria,
CriteriaQuery criteriaQuery)
Get the return types for a particular user-visible alias.
|
Type[] |
Distinct.getTypes(String alias,
Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
AliasedProjection.getTypes(String alias,
Criteria criteria,
CriteriaQuery criteriaQuery) |
Type |
CriteriaQuery.getTypeUsingProjection(Criteria criteria,
String propertyPath)
Get the type of a property path.
|
String |
SimpleProjection.toGroupSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
SQLProjection.toGroupSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
PropertyProjection.toGroupSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
ProjectionList.toGroupSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
Projection.toGroupSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
Render the SQL fragment to be used in the GROUP BY clause
|
String |
IdentifierProjection.toGroupSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
Distinct.toGroupSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
AliasedProjection.toGroupSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
protected abstract String |
SubqueryExpression.toLeftSqlString(Criteria criteria,
CriteriaQuery outerQuery) |
protected String |
SimpleSubqueryExpression.toLeftSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
protected String |
PropertySubqueryExpression.toLeftSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
protected String |
PropertiesSubqueryExpression.toLeftSqlString(Criteria criteria,
CriteriaQuery outerQuery) |
protected String |
ExistsSubqueryExpression.toLeftSqlString(Criteria criteria,
CriteriaQuery outerQuery) |
String |
SubqueryExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
SizeExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
SimpleExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
SQLCriterion.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
PropertyExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
Order.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
Render the SQL fragment
|
String |
NullExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
NotNullExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
NotExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
NaturalIdentifier.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
LogicalExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
LikeExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
Junction.toSqlString(Criteria crit,
CriteriaQuery criteriaQuery) |
String |
InExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
IlikeExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
Deprecated.
|
String |
IdentifierEqExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
Example.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
Criterion.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
Render the SQL fragment
|
String |
BetweenExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
AbstractEmptinessExpression.toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery) |
String |
SQLProjection.toSqlString(Criteria criteria,
int loc,
CriteriaQuery criteriaQuery) |
String |
RowCountProjection.toSqlString(Criteria criteria,
int position,
CriteriaQuery criteriaQuery) |
String |
PropertyProjection.toSqlString(Criteria criteria,
int position,
CriteriaQuery criteriaQuery) |
String |
ProjectionList.toSqlString(Criteria criteria,
int loc,
CriteriaQuery criteriaQuery) |
String |
Projection.toSqlString(Criteria criteria,
int position,
CriteriaQuery criteriaQuery)
Render the SQL fragment to be used in the SELECT clause.
|
String |
IdentifierProjection.toSqlString(Criteria criteria,
int position,
CriteriaQuery criteriaQuery) |
String |
Distinct.toSqlString(Criteria criteria,
int position,
CriteriaQuery criteriaQuery) |
String |
AliasedProjection.toSqlString(Criteria criteria,
int position,
CriteriaQuery criteriaQuery) |
String |
AggregateProjection.toSqlString(Criteria criteria,
int loc,
CriteriaQuery criteriaQuery) |
Constructor and Description |
---|
DetachedCriteria(CriteriaImpl impl,
Criteria criteria) |
Modifier and Type | Method and Description |
---|---|
Criteria |
SessionDelegatorBaseImpl.createCriteria(Class persistentClass) |
Criteria |
SessionDelegatorBaseImpl.createCriteria(Class persistentClass,
String alias) |
Criteria |
SessionDelegatorBaseImpl.createCriteria(String entityName) |
Criteria |
SessionDelegatorBaseImpl.createCriteria(String entityName,
String alias) |
Modifier and Type | Method and Description |
---|---|
List |
SessionImplementor.list(Criteria criteria)
Execute a criteria query
|
List |
SessionDelegatorBaseImpl.list(Criteria criteria) |
ScrollableResults |
SessionImplementor.scroll(Criteria criteria,
ScrollMode scrollMode)
Execute a criteria query
|
ScrollableResults |
SessionDelegatorBaseImpl.scroll(Criteria criteria,
ScrollMode scrollMode) |
Modifier and Type | Method and Description |
---|---|
Criteria |
RevisionInfoQueryCreator.getRevisionDateQuery(Session session,
Number revision) |
Criteria |
RevisionInfoQueryCreator.getRevisionNumberForDateQuery(Session session,
Date date) |
Criteria |
RevisionInfoQueryCreator.getRevisionsQuery(Session session,
Set<Number> revisions) |
Modifier and Type | Class and Description |
---|---|
class |
CriteriaImpl
Implementation of the Criteria interface
|
class |
CriteriaImpl.Subcriteria |
Modifier and Type | Method and Description |
---|---|
Criteria |
CriteriaImpl.add(Criteria criteriaInst,
Criterion expression) |
Criteria |
CriteriaImpl.add(Criterion expression) |
Criteria |
CriteriaImpl.Subcriteria.add(Criterion expression) |
Criteria |
CriteriaImpl.addOrder(Order ordering) |
Criteria |
CriteriaImpl.Subcriteria.addOrder(Order order) |
Criteria |
CriteriaImpl.addQueryHint(String queryHint) |
Criteria |
CriteriaImpl.Subcriteria.addQueryHint(String queryHint) |
Criteria |
CriteriaImpl.createAlias(String associationPath,
String alias) |
Criteria |
CriteriaImpl.Subcriteria.createAlias(String associationPath,
String alias) |
Criteria |
CriteriaImpl.createAlias(String associationPath,
String alias,
int joinType) |
Criteria |
CriteriaImpl.Subcriteria.createAlias(String associationPath,
String alias,
int joinType) |
Criteria |
CriteriaImpl.createAlias(String associationPath,
String alias,
int joinType,
Criterion withClause) |
Criteria |
CriteriaImpl.Subcriteria.createAlias(String associationPath,
String alias,
int joinType,
Criterion withClause) |
Criteria |
CriteriaImpl.createAlias(String associationPath,
String alias,
JoinType joinType) |
Criteria |
CriteriaImpl.Subcriteria.createAlias(String associationPath,
String alias,
JoinType joinType) |
Criteria |
CriteriaImpl.createAlias(String associationPath,
String alias,
JoinType joinType,
Criterion withClause) |
Criteria |
CriteriaImpl.Subcriteria.createAlias(String associationPath,
String alias,
JoinType joinType,
Criterion withClause) |
Criteria |
StatelessSessionImpl.createCriteria(Class persistentClass) |
Criteria |
SessionImpl.createCriteria(Class persistentClass) |
Criteria |
StatelessSessionImpl.createCriteria(Class persistentClass,
String alias) |
Criteria |
SessionImpl.createCriteria(Class persistentClass,
String alias) |
Criteria |
StatelessSessionImpl.createCriteria(String entityName) |
Criteria |
SessionImpl.createCriteria(String entityName) |
Criteria |
CriteriaImpl.createCriteria(String associationPath) |
Criteria |
CriteriaImpl.Subcriteria.createCriteria(String associationPath) |
Criteria |
CriteriaImpl.createCriteria(String associationPath,
int joinType) |
Criteria |
CriteriaImpl.Subcriteria.createCriteria(String associationPath,
int joinType) |
Criteria |
CriteriaImpl.createCriteria(String associationPath,
JoinType joinType) |
Criteria |
CriteriaImpl.Subcriteria.createCriteria(String associationPath,
JoinType joinType) |
Criteria |
StatelessSessionImpl.createCriteria(String entityName,
String alias) |
Criteria |
SessionImpl.createCriteria(String entityName,
String alias) |
Criteria |
CriteriaImpl.createCriteria(String associationPath,
String alias) |
Criteria |
CriteriaImpl.Subcriteria.createCriteria(String associationPath,
String alias) |
Criteria |
CriteriaImpl.createCriteria(String associationPath,
String alias,
int joinType) |
Criteria |
CriteriaImpl.Subcriteria.createCriteria(String associationPath,
String alias,
int joinType) |
Criteria |
CriteriaImpl.createCriteria(String associationPath,
String alias,
int joinType,
Criterion withClause) |
Criteria |
CriteriaImpl.Subcriteria.createCriteria(String associationPath,
String alias,
int joinType,
Criterion withClause) |
Criteria |
CriteriaImpl.createCriteria(String associationPath,
String alias,
JoinType joinType) |
Criteria |
CriteriaImpl.Subcriteria.createCriteria(String associationPath,
String alias,
JoinType joinType) |
Criteria |
CriteriaImpl.createCriteria(String associationPath,
String alias,
JoinType joinType,
Criterion withClause) |
Criteria |
CriteriaImpl.Subcriteria.createCriteria(String associationPath,
String alias,
JoinType joinType,
Criterion withClause) |
Criteria |
CriteriaImpl.CriterionEntry.getCriteria() |
Criteria |
CriteriaImpl.OrderEntry.getCriteria() |
Criteria |
CriteriaImpl.Subcriteria.getParent() |
Criteria |
CriteriaImpl.getProjectionCriteria() |
Criteria |
CriteriaImpl.setCacheable(boolean cacheable) |
Criteria |
CriteriaImpl.Subcriteria.setCacheable(boolean cacheable) |
Criteria |
CriteriaImpl.setCacheMode(CacheMode cacheMode) |
Criteria |
CriteriaImpl.Subcriteria.setCacheMode(CacheMode cacheMode) |
Criteria |
CriteriaImpl.setCacheRegion(String cacheRegion) |
Criteria |
CriteriaImpl.Subcriteria.setCacheRegion(String cacheRegion) |
Criteria |
CriteriaImpl.setComment(String comment) |
Criteria |
CriteriaImpl.Subcriteria.setComment(String comment) |
Criteria |
CriteriaImpl.setFetchMode(String associationPath,
FetchMode mode) |
Criteria |
CriteriaImpl.Subcriteria.setFetchMode(String associationPath,
FetchMode mode) |
Criteria |
CriteriaImpl.setFetchSize(int fetchSize) |
Criteria |
CriteriaImpl.Subcriteria.setFetchSize(int fetchSize) |
Criteria |
CriteriaImpl.setFirstResult(int firstResult) |
Criteria |
CriteriaImpl.Subcriteria.setFirstResult(int firstResult) |
Criteria |
CriteriaImpl.setFlushMode(FlushMode flushMode) |
Criteria |
CriteriaImpl.Subcriteria.setFlushMode(FlushMode flushMode) |
Criteria |
CriteriaImpl.setLockMode(LockMode lockMode) |
Criteria |
CriteriaImpl.Subcriteria.setLockMode(LockMode lockMode) |
Criteria |
CriteriaImpl.setLockMode(String alias,
LockMode lockMode) |
Criteria |
CriteriaImpl.Subcriteria.setLockMode(String alias,
LockMode lockMode) |
Criteria |
CriteriaImpl.setMaxResults(int maxResults) |
Criteria |
CriteriaImpl.Subcriteria.setMaxResults(int maxResults) |
Criteria |
CriteriaImpl.setProjection(Projection projection) |
Criteria |
CriteriaImpl.Subcriteria.setProjection(Projection projection) |
Criteria |
CriteriaImpl.setReadOnly(boolean readOnly) |
Criteria |
CriteriaImpl.Subcriteria.setReadOnly(boolean readOnly) |
Criteria |
CriteriaImpl.setResultTransformer(ResultTransformer tupleMapper) |
Criteria |
CriteriaImpl.Subcriteria.setResultTransformer(ResultTransformer resultProcessor) |
Criteria |
CriteriaImpl.setTimeout(int timeout) |
Criteria |
CriteriaImpl.Subcriteria.setTimeout(int timeout) |
Modifier and Type | Method and Description |
---|---|
Criteria |
CriteriaImpl.add(Criteria criteriaInst,
Criterion expression) |
List |
StatelessSessionImpl.list(Criteria criteria) |
List |
SessionImpl.list(Criteria criteria) |
ScrollableResults |
StatelessSessionImpl.scroll(Criteria criteria,
ScrollMode scrollMode) |
ScrollableResults |
SessionImpl.scroll(Criteria criteria,
ScrollMode scrollMode) |
Modifier and Type | Method and Description |
---|---|
Criteria |
CriteriaQueryTranslator.getCriteria(String path) |
Modifier and Type | Method and Description |
---|---|
String[] |
CriteriaQueryTranslator.findColumns(String propertyName,
Criteria subcriteria)
Get the names of the columns mapped by a property path; if the
property path is not found in subcriteria, try the "outer" query.
|
String |
CriteriaQueryTranslator.getColumn(Criteria criteria,
String propertyName) |
String[] |
CriteriaQueryTranslator.getColumns(String propertyName,
Criteria subcriteria) |
String[] |
CriteriaQueryTranslator.getColumnsUsingProjection(Criteria subcriteria,
String propertyName)
Get the names of the columns constrained
by this criterion.
|
String |
CriteriaQueryTranslator.getEntityName(Criteria criteria) |
String |
CriteriaQueryTranslator.getEntityName(Criteria subcriteria,
String propertyName) |
String[] |
CriteriaQueryTranslator.getIdentifierColumns(Criteria criteria) |
Type |
CriteriaQueryTranslator.getIdentifierType(Criteria criteria) |
String |
CriteriaQueryTranslator.getSQLAlias(Criteria criteria) |
String |
CriteriaQueryTranslator.getSQLAlias(Criteria criteria,
String propertyName) |
Type |
CriteriaQueryTranslator.getType(Criteria subcriteria,
String propertyName) |
TypedValue |
CriteriaQueryTranslator.getTypedIdentifierValue(Criteria criteria,
Object value) |
TypedValue |
CriteriaQueryTranslator.getTypedValue(Criteria subcriteria,
String propertyName,
Object value)
Get the a typed value for the given property value.
|
Type |
CriteriaQueryTranslator.getTypeUsingProjection(Criteria subcriteria,
String propertyName) |
Modifier and Type | Method and Description |
---|---|
FullTextQuery |
FullTextQuery.setCriteriaQuery(Criteria criteria)
Defines the Database Query used to load the Lucene results.
|
Modifier and Type | Method and Description |
---|---|
FullTextQuery |
FullTextQuery.setCriteriaQuery(Criteria criteria)
Defines the Database Query used to load the Lucene results.
|
Modifier and Type | Method and Description |
---|---|
Criteria |
ObjectInitializationContext.getCriteria() |
Modifier and Type | Method and Description |
---|---|
ObjectLoaderBuilder |
ObjectLoaderBuilder.criteria(Criteria criteria) |
void |
QueryLoader.setCriteria(Criteria criteria) |
FullTextQuery |
FullTextQueryImpl.setCriteriaQuery(Criteria criteria) |
Constructor and Description |
---|
ObjectInitializationContext(Criteria criteria,
Class<?> targetedEntityType,
org.hibernate.search.engine.integration.impl.ExtendedSearchIntegrator extendedIntegrator,
org.hibernate.search.query.engine.spi.TimeoutManager timeoutManager,
Session session) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.