Uses of Class
org.hibernate.engine.spi.RowSelection
-
Packages that use RowSelection Package Description org.hibernate org.hibernate.dialect.pagination Support for Dialect-specific pagination strategiesorg.hibernate.engine.query.spi Defines support for query plans and stored metadata about queriesorg.hibernate.engine.spi org.hibernate.loader -
-
Uses of RowSelection in org.hibernate
Methods in org.hibernate that return RowSelection Modifier and Type Method Description RowSelectionQuery. getQueryOptions()Deprecated."QueryOptions" is a better name, I think, than "RowSelection" -> 6.0 -
Uses of RowSelection in org.hibernate.dialect.pagination
Methods in org.hibernate.dialect.pagination with parameters of type RowSelection Modifier and Type Method Description protected intAbstractLimitHandler. bindLimitParameters(RowSelection selection, java.sql.PreparedStatement statement, int index)Default implementation of binding parameter values needed by the LIMIT clause.intAbstractLimitHandler. bindLimitParametersAtEndOfQuery(RowSelection selection, java.sql.PreparedStatement statement, int index)intLimitHandler. bindLimitParametersAtEndOfQuery(RowSelection selection, java.sql.PreparedStatement statement, int index)Bind parameter values needed by the LIMIT clause after original SELECT statement.intNoopLimitHandler. bindLimitParametersAtEndOfQuery(RowSelection selection, java.sql.PreparedStatement statement, int index)intSQLServer2005LimitHandler. bindLimitParametersAtEndOfQuery(RowSelection selection, java.sql.PreparedStatement statement, int index)intSQLServer2012LimitHandler. bindLimitParametersAtEndOfQuery(RowSelection selection, java.sql.PreparedStatement statement, int index)intAbstractLimitHandler. bindLimitParametersAtStartOfQuery(RowSelection selection, java.sql.PreparedStatement statement, int index)intLimitHandler. bindLimitParametersAtStartOfQuery(RowSelection selection, java.sql.PreparedStatement statement, int index)Bind parameter values needed by the LIMIT clause before original SELECT statement.intNoopLimitHandler. bindLimitParametersAtStartOfQuery(RowSelection selection, java.sql.PreparedStatement statement, int index)intSQLServer2005LimitHandler. bindLimitParametersAtStartOfQuery(RowSelection selection, java.sql.PreparedStatement statement, int index)static intLimitHelper. getFirstRow(RowSelection selection)Retrieve the indicated first row for paginationprotected intAbstractLimitHandler. 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 booleanLimitHelper. hasFirstRow(RowSelection selection)Is a first row limit indicated?static booleanLimitHelper. hasMaxRows(RowSelection selection)Is a max row limit indicated?java.lang.StringAbstractLimitHandler. processSql(java.lang.String sql, RowSelection selection)java.lang.StringCUBRIDLimitHandler. processSql(java.lang.String sql, RowSelection selection)java.lang.StringFirstLimitHandler. processSql(java.lang.String sql, RowSelection selection)java.lang.StringInformix10LimitHandler. processSql(java.lang.String sql, RowSelection selection)java.lang.StringLegacyFirstLimitHandler. processSql(java.lang.String sql, RowSelection selection)java.lang.StringLegacyLimitHandler. processSql(java.lang.String sql, RowSelection selection)java.lang.StringLimitHandler. processSql(java.lang.String sql, RowSelection selection)Return processed SQL query.java.lang.StringNoopLimitHandler. processSql(java.lang.String sql, RowSelection selection)java.lang.StringOracle12LimitHandler. processSql(java.lang.String sql, RowSelection selection)java.lang.StringSQL2008StandardLimitHandler. processSql(java.lang.String sql, RowSelection selection)java.lang.StringSQLServer2005LimitHandler. processSql(java.lang.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:java.lang.StringSQLServer2012LimitHandler. processSql(java.lang.String sql, RowSelection selection)java.lang.StringSybaseASE157LimitHandler. processSql(java.lang.String sql, RowSelection selection)java.lang.StringTopLimitHandler. processSql(java.lang.String sql, RowSelection selection)voidAbstractLimitHandler. setMaxRows(RowSelection selection, java.sql.PreparedStatement statement)voidLimitHandler. setMaxRows(RowSelection selection, java.sql.PreparedStatement statement)Use JDBC API to limit the number of rows returned by the SQL query.voidNoopLimitHandler. setMaxRows(RowSelection selection, java.sql.PreparedStatement statement)static booleanLimitHelper. useLimit(LimitHandler limitHandler, RowSelection selection)Should limit be applied? -
Uses of RowSelection in org.hibernate.engine.query.spi
Methods in org.hibernate.engine.query.spi with parameters of type RowSelection Modifier and Type Method Description protected intHQLQueryPlan. guessResultSize(RowSelection rowSelection)If we're able to guess a likely size of the results we can optimize allocation of our data structures. -
Uses of RowSelection in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return RowSelection Modifier and Type Method Description RowSelectionQueryParameters. getRowSelection()Methods in org.hibernate.engine.spi with parameters of type RowSelection Modifier and Type Method Description QueryParametersQueryParameters. createCopyUsing(RowSelection selection)voidQueryParameters. setRowSelection(RowSelection selection)Constructors in org.hibernate.engine.spi with parameters of type RowSelection Constructor Description QueryParameters(QueryParameterBindings queryParameterBindings, LockOptions lockOptions, RowSelection selection, boolean isReadOnlyInitialized, boolean readOnly, boolean cacheable, java.lang.String cacheRegion, java.lang.String comment, java.util.List<java.lang.String> dbHints, java.io.Serializable[] collectionKeys, java.lang.Object optionalObject, java.lang.String optionalEntityName, java.io.Serializable optionalId, ResultTransformer resultTransformer)QueryParameters(Type[] positionalParameterTypes, java.lang.Object[] positionalParameterValues, java.util.Map<java.lang.String,TypedValue> namedParameters, LockOptions lockOptions, RowSelection rowSelection, boolean isReadOnlyInitialized, boolean readOnly, boolean cacheable, java.lang.String cacheRegion, java.lang.String comment, java.util.List<java.lang.String> queryHints, java.io.Serializable[] collectionKeys, java.lang.Object optionalObject, java.lang.String optionalEntityName, java.io.Serializable optionalId, ResultTransformer transformer)QueryParameters(Type[] positionalParameterTypes, java.lang.Object[] positionalParameterValues, java.util.Map<java.lang.String,TypedValue> namedParameters, LockOptions lockOptions, RowSelection rowSelection, boolean isReadOnlyInitialized, boolean readOnly, boolean cacheable, java.lang.String cacheRegion, java.lang.String comment, java.util.List<java.lang.String> queryHints, java.io.Serializable[] collectionKeys, ResultTransformer transformer)QueryParameters(Type[] positionalParameterTypes, java.lang.Object[] positionalParameterValues, LockOptions lockOptions, RowSelection rowSelection, boolean isReadOnlyInitialized, boolean readOnly, boolean cacheable, java.lang.String cacheRegion, java.lang.String comment, java.util.List<java.lang.String> queryHints, boolean isLookupByNaturalKey, ResultTransformer transformer) -
Uses of RowSelection in org.hibernate.loader
Methods in org.hibernate.loader with parameters of type RowSelection Modifier and Type Method Description protected LimitHandlerLoader. getLimitHandler(RowSelection selection)Build LIMIT clause handler applicable for given selection criteria.protected java.sql.ResultSetLoader. getResultSet(java.sql.CallableStatement st, RowSelection selection, LimitHandler limitHandler, boolean autodiscovertypes, SharedSessionContractImplementor session)Execute given CallableStatement, advance to the first result and return SQL ResultSet.protected java.sql.ResultSetLoader. getResultSet(java.sql.PreparedStatement st, RowSelection selection, LimitHandler limitHandler, boolean autodiscovertypes, SharedSessionContractImplementor session)Execute given PreparedStatement, advance to the first result and return SQL ResultSet.protected java.sql.ResultSetLoader. preprocessResultSet(java.sql.ResultSet rs, RowSelection selection, LimitHandler limitHandler, boolean autodiscovertypes, SharedSessionContractImplementor session)
-