类的使用
org.hibernate.engine.spi.RowSelection
-
使用RowSelection的程序包 程序包 说明 org.hibernate This package defines the central Hibernate APIs.org.hibernate.dialect.pagination Support for Dialect-specific pagination strategiesorg.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 -
-
org.hibernate中RowSelection的使用
返回RowSelection的org.hibernate中的方法 修饰符和类型 方法 说明 RowSelectionQuery. getQueryOptions()已过时。"QueryOptions" is a better name, I think, than "RowSelection" -> 6.0 -
org.hibernate.dialect.pagination中RowSelection的使用
参数类型为RowSelection的org.hibernate.dialect.pagination中的方法 修饰符和类型 方法 说明 protected intAbstractLimitHandler. bindLimitParameters(RowSelection selection, PreparedStatement statement, int index)Default implementation of binding parameter values needed by the LIMIT clause.intAbstractLimitHandler. bindLimitParametersAtEndOfQuery(RowSelection selection, PreparedStatement statement, int index)intLimitHandler. bindLimitParametersAtEndOfQuery(RowSelection selection, PreparedStatement statement, int index)Bind parameter values needed by the LIMIT clause after original SELECT statement.intNoopLimitHandler. bindLimitParametersAtEndOfQuery(RowSelection selection, PreparedStatement statement, int index)intSQLServer2005LimitHandler. bindLimitParametersAtEndOfQuery(RowSelection selection, PreparedStatement statement, int index)intSQLServer2012LimitHandler. bindLimitParametersAtEndOfQuery(RowSelection selection, PreparedStatement statement, int index)intAbstractLimitHandler. bindLimitParametersAtStartOfQuery(RowSelection selection, PreparedStatement statement, int index)intLimitHandler. bindLimitParametersAtStartOfQuery(RowSelection selection, PreparedStatement statement, int index)Bind parameter values needed by the LIMIT clause before original SELECT statement.intNoopLimitHandler. bindLimitParametersAtStartOfQuery(RowSelection selection, PreparedStatement statement, int index)intSQLServer2005LimitHandler. bindLimitParametersAtStartOfQuery(RowSelection selection, 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?StringAbstractLimitHandler. processSql(String sql, RowSelection selection)StringCUBRIDLimitHandler. processSql(String sql, RowSelection selection)StringFirstLimitHandler. processSql(String sql, RowSelection selection)StringInformix10LimitHandler. processSql(String sql, RowSelection selection)StringLegacyFirstLimitHandler. processSql(String sql, RowSelection selection)StringLegacyLimitHandler. processSql(String sql, RowSelection selection)StringLimitHandler. processSql(String sql, RowSelection selection)Return processed SQL query.StringNoopLimitHandler. processSql(String sql, RowSelection selection)StringSQL2008StandardLimitHandler. processSql(String sql, RowSelection selection)StringSQLServer2005LimitHandler. 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:StringSQLServer2012LimitHandler. processSql(String sql, RowSelection selection)StringSybaseASE157LimitHandler. processSql(String sql, RowSelection selection)StringTopLimitHandler. processSql(String sql, RowSelection selection)voidAbstractLimitHandler. setMaxRows(RowSelection selection, PreparedStatement statement)voidLimitHandler. setMaxRows(RowSelection selection, PreparedStatement statement)Use JDBC API to limit the number of rows returned by the SQL query.voidNoopLimitHandler. setMaxRows(RowSelection selection, PreparedStatement statement)static booleanLimitHelper. useLimit(LimitHandler limitHandler, RowSelection selection)Should limit be applied? -
org.hibernate.engine.spi中RowSelection的使用
返回RowSelection的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 RowSelectionQueryParameters. getRowSelection()参数类型为RowSelection的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 QueryParametersQueryParameters. createCopyUsing(RowSelection selection)voidQueryParameters. setRowSelection(RowSelection selection)参数类型为RowSelection的org.hibernate.engine.spi中的构造器 构造器 说明 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, 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)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) -
org.hibernate.loader中RowSelection的使用
参数类型为RowSelection的org.hibernate.loader中的方法 修饰符和类型 方法 说明 protected LimitHandlerLoader. getLimitHandler(RowSelection selection)Build LIMIT clause handler applicable for given selection criteria.protected ResultSetLoader. getResultSet(CallableStatement st, RowSelection selection, LimitHandler limitHandler, boolean autodiscovertypes, SharedSessionContractImplementor session)Execute given CallableStatement, advance to the first result and return SQL ResultSet.protected ResultSetLoader. getResultSet(PreparedStatement st, RowSelection selection, LimitHandler limitHandler, boolean autodiscovertypes, SharedSessionContractImplementor session)Execute given PreparedStatement, advance to the first result and return SQL ResultSet. -
org.hibernate.loader.plan.exec.internal中RowSelection的使用
参数类型为RowSelection的org.hibernate.loader.plan.exec.internal中的方法 修饰符和类型 方法 说明 protected voidAbstractLoadPlanBasedLoader. advance(ResultSet rs, RowSelection selection)Advance the cursor to the first required row of the ResultSetprotected LimitHandlerAbstractLoadPlanBasedLoader. getLimitHandler(RowSelection selection)Build LIMIT clause handler applicable for given selection criteria.protected ResultSetAbstractLoadPlanBasedLoader. getResultSet(PreparedStatement st, RowSelection selection, LimitHandler limitHandler, boolean autodiscovertypes, SharedSessionContractImplementor session)Execute given PreparedStatement, advance to the first result and return SQL ResultSet. -
org.hibernate.query.criteria.internal.compile中RowSelection的使用
返回RowSelection的org.hibernate.query.criteria.internal.compile中的方法 修饰符和类型 方法 说明 RowSelectionCriteriaQueryTypeQueryAdapter. getQueryOptions() -
org.hibernate.query.internal中RowSelection的使用
返回RowSelection的org.hibernate.query.internal中的方法 修饰符和类型 方法 说明 RowSelectionAbstractProducedQuery. getQueryOptions()
-