| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public class |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private CacheMode | |
| private String | |
| private String | |
| private List | |
| private final String | |
| private Map | |
| private Integer | |
| private Integer | |
| private FlushMode | |
| private Map | |
| private Integer | |
| private List | |
| private Projection | |
| private Criteria | |
| private Boolean | |
| private ResultTransformer | |
| private final String | |
| private transient SessionImplementor | |
| private CacheMode | |
| private FlushMode | |
| private List | |
| private Integer |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Criteria | |
| public Criteria | add(Criterion
The expression)criterion object representing the
restriction to be applied.Implements org. restriction to constrain the results to be
retrieved.
|
| public Criteria | addOrder(Order
The ordering)order object representing an ordering
to be applied to the results.Implements org. ordering to the result set.
|
| protected void | |
| protected void | |
| public Criteria | createAlias(String
A dot-seperated property path associationPath, String The alias to assign to the joined association (for later reference). alias)Implements org. |
| public Criteria | createAlias(String
A dot-seperated property path associationPath, String The alias to assign to the joined association (for later reference). alias, int The type of join to use. joinType)Implements org. |
| public Criteria | createAlias(String
A dot-seperated property path associationPath, String The alias to assign to the joined association (for later reference). alias, int The type of join to use. joinType, Criterion The criteria to be added to the join condition (ON clause) withClause)Implements org. |
| public Criteria | createCriteria(String
A dot-seperated property path associationPath)Implements org. |
| public Criteria | createCriteria(String
A dot-seperated property path associationPath, int The type of join to use. joinType)Implements org. |
| public Criteria | createCriteria(String
A dot-seperated property path associationPath, String The alias to assign to the joined association (for later reference). alias)Implements org. |
| public Criteria | createCriteria(String
A dot-seperated property path associationPath, String The alias to assign to the joined association (for later reference). alias, int The type of join to use. joinType)Implements org. |
| public Criteria | createCriteria(String
A dot-seperated property path associationPath, String The alias to assign to the joined association (for later reference). alias, int The type of join to use. joinType, Criterion The criteria to be added to the join condition (ON clause) withClause)Implements org. |
| public String | getAlias()
Implements org. |
| public boolean | |
| public String | |
| public String | |
| public String | |
| public FetchMode | |
| public Integer | |
| public Integer | |
| public Map | |
| public Integer | |
| public Projection | |
| public Criteria | |
| public ResultTransformer | |
| public SessionImplementor | |
| public Integer | |
| public boolean | |
| public boolean | isReadOnly()
Implements org. |
| public boolean | isReadOnlyInitialized()
Implements org. |
| public Iterator | |
| public Iterator | |
| public Iterator | |
| public List | |
| public ScrollableResults | scroll()
Implements org. ScrollableResults
|
| public ScrollableResults | scroll(ScrollMode
Indicates the type of underlying database cursor to
request. scrollMode)Implements org. ScrollableResults based on the
given scroll mode.
|
| public Criteria | setCacheable(boolean
Should the result be considered cacheable; default is
to not cache (false). cacheable)Implements org. |
| public Criteria | setCacheMode(CacheMode
The cache mode to use. cacheMode)Implements org. |
| public Criteria | setCacheRegion(String
the name of a query cache region, or null
for the default query cache cacheRegion)Implements org. |
| public Criteria | setComment(String
a human-readable string comment)Implements org. |
| public Criteria | setFetchMode(String
a dot seperated property path associationPath, FetchMode The fetch mode for the referenced association mode)Implements org. |
| public Criteria | setFetchSize(int
the fetch size fetchSize)Implements org. |
| public Criteria | setFirstResult(int
the first result to retrieve, numbered from 0 firstResult)Implements org. |
| public Criteria | setFlushMode(FlushMode
The flush mode to use. flushMode)Implements org. |
| public Criteria | setLockMode(LockMode
The lock mode to be applied lockMode)Implements org. |
| public Criteria | setLockMode(String
The previously assigned alias representing the entity to
which the given lock mode should apply. alias, LockMode The lock mode to be applied lockMode)Implements org. |
| public Criteria | setMaxResults(int
the maximum number of results maxResults)Implements org. |
| public Criteria | setProjection(Projection
The projection representing the overall "shape" of the
query results. projection)Implements org. |
| public Criteria | setReadOnly(boolean
true, entities and proxies loaded by the criteria will be put in read-only mode
false, entities and proxies loaded by the criteria will be put in modifiable mode readOnly)Implements org. |
| public Criteria | setResultTransformer(ResultTransformer
The transformer to apply tupleMapper)Implements org. |
| public void | |
| public Criteria | setTimeout(int
The timeout value to apply. timeout)Implements org. |
| public String | |
| public Object | uniqueResult()
Implements org. |