Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.dialect.pagination |
Support for Dialect-specific pagination strategies
|
org.hibernate.engine.spi | |
org.hibernate.loader |
This package defines functionality for processing JDBC
result sets and returning complex graphs of persistent
objects.
|
org.hibernate.loader.plan.exec.internal |
Provides the internal implementations for generating the load query from the LoadPlan and the ResultSet processor.
|
org.hibernate.query.criteria.internal.compile | |
org.hibernate.query.internal |
Modifier and Type | Method and Description |
---|---|
RowSelection |
Query.getQueryOptions()
Deprecated.
"QueryOptions" is a better name, I think, than "RowSelection" -> 6.0
|
Modifier and Type | Method and Description |
---|---|
protected int |
AbstractLimitHandler.bindLimitParameters(RowSelection selection,
PreparedStatement statement,
int index)
Default implementation of binding parameter values needed by the LIMIT clause.
|
int |
SQLServer2012LimitHandler.bindLimitParametersAtEndOfQuery(RowSelection selection,
PreparedStatement statement,
int index) |
int |
SQLServer2005LimitHandler.bindLimitParametersAtEndOfQuery(RowSelection selection,
PreparedStatement statement,
int index) |
int |
NoopLimitHandler.bindLimitParametersAtEndOfQuery(RowSelection selection,
PreparedStatement statement,
int index) |
int |
LimitHandler.bindLimitParametersAtEndOfQuery(RowSelection selection,
PreparedStatement statement,
int index)
Bind parameter values needed by the LIMIT clause after original SELECT statement.
|
int |
AbstractLimitHandler.bindLimitParametersAtEndOfQuery(RowSelection selection,
PreparedStatement statement,
int index) |
int |
SQLServer2005LimitHandler.bindLimitParametersAtStartOfQuery(RowSelection selection,
PreparedStatement statement,
int index) |
int |
NoopLimitHandler.bindLimitParametersAtStartOfQuery(RowSelection selection,
PreparedStatement statement,
int index) |
int |
LimitHandler.bindLimitParametersAtStartOfQuery(RowSelection selection,
PreparedStatement statement,
int index)
Bind parameter values needed by the LIMIT clause before original SELECT statement.
|
int |
AbstractLimitHandler.bindLimitParametersAtStartOfQuery(RowSelection selection,
PreparedStatement statement,
int index) |
static int |
LimitHelper.getFirstRow(RowSelection selection)
Retrieve the indicated first row for pagination
|
protected int |
AbstractLimitHandler.getMaxOrLimit(RowSelection selection)
Some dialect-specific LIMIT clauses require the maximum last row number
(aka, first_row_number + total_row_count), while others require the maximum
returned row count (the total maximum number of rows to return).
|
static boolean |
LimitHelper.hasFirstRow(RowSelection selection)
Is a first row limit indicated?
|
static boolean |
LimitHelper.hasMaxRows(RowSelection selection)
Is a max row limit indicated?
|
String |
TopLimitHandler.processSql(String sql,
RowSelection selection) |
String |
SybaseASE157LimitHandler.processSql(String sql,
RowSelection selection) |
String |
SQLServer2012LimitHandler.processSql(String sql,
RowSelection selection) |
String |
SQLServer2005LimitHandler.processSql(String sql,
RowSelection selection)
Add a LIMIT clause to the given SQL SELECT (HHH-2655: ROW_NUMBER for Paging)
The LIMIT SQL will look like:
|
String |
SQL2008StandardLimitHandler.processSql(String sql,
RowSelection selection) |
String |
NoopLimitHandler.processSql(String sql,
RowSelection selection) |
String |
LimitHandler.processSql(String sql,
RowSelection selection)
Return processed SQL query.
|
String |
LegacyLimitHandler.processSql(String sql,
RowSelection selection) |
String |
LegacyFirstLimitHandler.processSql(String sql,
RowSelection selection) |
String |
Informix10LimitHandler.processSql(String sql,
RowSelection selection) |
String |
FirstLimitHandler.processSql(String sql,
RowSelection selection) |
String |
CUBRIDLimitHandler.processSql(String sql,
RowSelection selection) |
String |
AbstractLimitHandler.processSql(String sql,
RowSelection selection) |
void |
NoopLimitHandler.setMaxRows(RowSelection selection,
PreparedStatement statement) |
void |
LimitHandler.setMaxRows(RowSelection selection,
PreparedStatement statement)
Use JDBC API to limit the number of rows returned by the SQL query.
|
void |
AbstractLimitHandler.setMaxRows(RowSelection selection,
PreparedStatement statement) |
static boolean |
LimitHelper.useLimit(LimitHandler limitHandler,
RowSelection selection)
Should limit be applied?
|
Modifier and Type | Method and Description |
---|---|
RowSelection |
QueryParameters.getRowSelection() |
Modifier and Type | Method and Description |
---|---|
QueryParameters |
QueryParameters.createCopyUsing(RowSelection selection) |
void |
QueryParameters.setRowSelection(RowSelection selection) |
Constructor and Description |
---|
QueryParameters(QueryParameterBindings queryParameterBindings,
LockOptions lockOptions,
RowSelection selection,
boolean isReadOnlyInitialized,
boolean readOnly,
boolean cacheable,
String cacheRegion,
String comment,
List<String> dbHints,
Serializable[] collectionKeys,
Object optionalObject,
String optionalEntityName,
Serializable optionalId,
ResultTransformer resultTransformer) |
QueryParameters(Type[] positionalParameterTypes,
Object[] positionalParameterValues,
LockOptions lockOptions,
RowSelection rowSelection,
boolean isReadOnlyInitialized,
boolean readOnly,
boolean cacheable,
String cacheRegion,
String comment,
List<String> queryHints,
boolean isLookupByNaturalKey,
ResultTransformer transformer) |
QueryParameters(Type[] positionalParameterTypes,
Object[] positionalParameterValues,
Map<String,TypedValue> namedParameters,
LockOptions lockOptions,
RowSelection rowSelection,
boolean isReadOnlyInitialized,
boolean readOnly,
boolean cacheable,
String cacheRegion,
String comment,
List<String> queryHints,
Serializable[] collectionKeys,
Object optionalObject,
String optionalEntityName,
Serializable optionalId,
ResultTransformer transformer) |
QueryParameters(Type[] positionalParameterTypes,
Object[] positionalParameterValues,
Map<String,TypedValue> namedParameters,
LockOptions lockOptions,
RowSelection rowSelection,
boolean isReadOnlyInitialized,
boolean readOnly,
boolean cacheable,
String cacheRegion,
String comment,
List<String> queryHints,
Serializable[] collectionKeys,
ResultTransformer transformer) |
Modifier and Type | Method and Description |
---|---|
protected LimitHandler |
Loader.getLimitHandler(RowSelection selection)
Build LIMIT clause handler applicable for given selection criteria.
|
protected ResultSet |
Loader.getResultSet(CallableStatement st,
RowSelection selection,
LimitHandler limitHandler,
boolean autodiscovertypes,
SharedSessionContractImplementor session)
Execute given CallableStatement, advance to the first result and return SQL ResultSet.
|
protected ResultSet |
Loader.getResultSet(PreparedStatement st,
RowSelection selection,
LimitHandler limitHandler,
boolean autodiscovertypes,
SharedSessionContractImplementor session)
Execute given PreparedStatement, advance to the first result and return SQL ResultSet.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractLoadPlanBasedLoader.advance(ResultSet rs,
RowSelection selection)
Advance the cursor to the first required row of the ResultSet
|
protected LimitHandler |
AbstractLoadPlanBasedLoader.getLimitHandler(RowSelection selection)
Build LIMIT clause handler applicable for given selection criteria.
|
protected ResultSet |
AbstractLoadPlanBasedLoader.getResultSet(PreparedStatement st,
RowSelection selection,
LimitHandler limitHandler,
boolean autodiscovertypes,
SharedSessionContractImplementor session)
Execute given PreparedStatement, advance to the first result and return SQL ResultSet.
|
Modifier and Type | Method and Description |
---|---|
RowSelection |
CriteriaQueryTypeQueryAdapter.getQueryOptions() |
Modifier and Type | Method and Description |
---|---|
RowSelection |
AbstractProducedQuery.getQueryOptions() |
Copyright © 2019 JBoss by Red Hat. All rights reserved.