Top Description Fields Constructors Methods
org.hibernate.sql.exec.spi

public Class JdbcOperationQuerySelect

extends AbstractJdbcOperationQuery
Class Inheritance
Imports
java.util.Collections, .List, .Map, .Set, org.hibernate.internal.FilterJdbcParameter, org.hibernate.query.spi.Limit, .QueryOptions, org.hibernate.sql.ast.tree.expression.JdbcParameter, org.hibernate.sql.results.jdbc.spi.JdbcValuesMappingProducer

Executable JDBC command
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final JdbcLockStrategy
private final JdbcValuesMappingProducer
private final JdbcParameter
private final int
private final JdbcParameter
private final int
Inherited from org.hibernate.sql.exec.spi.AbstractJdbcOperationQuery:
affectedTableNamesappliedParametersparameterBinderssql

Constructor Summary

AccessConstructor and Description
public
JdbcOperationQuerySelect(String sql, List<JdbcParameterBinder> parameterBinders, JdbcValuesMappingProducer jdbcValuesMappingProducer, Set<String> affectedTableNames, Set<FilterJdbcParameter> filterJdbcParameters)

Deprecated filterJdbcParameters is no longer used
public
JdbcOperationQuerySelect(String sql, List<JdbcParameterBinder> parameterBinders, JdbcValuesMappingProducer jdbcValuesMappingProducer, Set<String> affectedTableNames)

public
JdbcOperationQuerySelect(String sql, List<JdbcParameterBinder> parameterBinders, JdbcValuesMappingProducer jdbcValuesMappingProducer, Set<String> affectedTableNames, Set<FilterJdbcParameter> filterJdbcParameters, int rowsToSkip, int maxRows, Map<JdbcParameter, JdbcParameterBinding> appliedParameters, JdbcLockStrategy jdbcLockStrategy, JdbcParameter offsetParameter, JdbcParameter limitParameter)

Deprecated filterJdbcParameters is no longer used
public
JdbcOperationQuerySelect(String sql, List<JdbcParameterBinder> parameterBinders, JdbcValuesMappingProducer jdbcValuesMappingProducer, Set<String> affectedTableNames, int rowsToSkip, int maxRows, Map<JdbcParameter, JdbcParameterBinding> appliedParameters, JdbcLockStrategy jdbcLockStrategy, JdbcParameter offsetParameter, JdbcParameter limitParameter)

Method Summary

Modifier and TypeMethod and Description
public JdbcValuesMappingProducer
public JdbcParameter
public JdbcLockStrategy
public int
public JdbcParameter
public int
private boolean
isCompatible(JdbcParameter parameter, Integer requestedValue, int defaultValue)

public boolean
public boolean
Inherited from org.hibernate.sql.exec.spi.AbstractJdbcOperationQuery:
dependsOnParameterBindingsgetAffectedTableNamesgetAppliedParametersgetParameterBindersgetSqlString

Field Detail

jdbcLockStrategyback to summary
private final JdbcLockStrategy jdbcLockStrategy
jdbcValuesMappingProducerback to summary
private final JdbcValuesMappingProducer jdbcValuesMappingProducer
limitParameterback to summary
private final JdbcParameter limitParameter
maxRowsback to summary
private final int maxRows
offsetParameterback to summary
private final JdbcParameter offsetParameter
rowsToSkipback to summary
private final int rowsToSkip

Constructor Detail

JdbcOperationQuerySelectback to summary
public JdbcOperationQuerySelect(String sql, List<JdbcParameterBinder> parameterBinders, JdbcValuesMappingProducer jdbcValuesMappingProducer, Set<String> affectedTableNames, Set<FilterJdbcParameter> filterJdbcParameters)

Deprecated

filterJdbcParameters is no longer used

Annotations
@Deprecated
JdbcOperationQuerySelectback to summary
public JdbcOperationQuerySelect(String sql, List<JdbcParameterBinder> parameterBinders, JdbcValuesMappingProducer jdbcValuesMappingProducer, Set<String> affectedTableNames)
JdbcOperationQuerySelectback to summary
public JdbcOperationQuerySelect(String sql, List<JdbcParameterBinder> parameterBinders, JdbcValuesMappingProducer jdbcValuesMappingProducer, Set<String> affectedTableNames, Set<FilterJdbcParameter> filterJdbcParameters, int rowsToSkip, int maxRows, Map<JdbcParameter, JdbcParameterBinding> appliedParameters, JdbcLockStrategy jdbcLockStrategy, JdbcParameter offsetParameter, JdbcParameter limitParameter)

Deprecated

filterJdbcParameters is no longer used

Annotations
@Deprecated
JdbcOperationQuerySelectback to summary
public JdbcOperationQuerySelect(String sql, List<JdbcParameterBinder> parameterBinders, JdbcValuesMappingProducer jdbcValuesMappingProducer, Set<String> affectedTableNames, int rowsToSkip, int maxRows, Map<JdbcParameter, JdbcParameterBinding> appliedParameters, JdbcLockStrategy jdbcLockStrategy, JdbcParameter offsetParameter, JdbcParameter limitParameter)

Method Detail

getJdbcValuesMappingProducerback to summary
public JdbcValuesMappingProducer getJdbcValuesMappingProducer()
getLimitParameterback to summary
public JdbcParameter getLimitParameter()
getLockStrategyback to summary
public JdbcLockStrategy getLockStrategy()
getMaxRowsback to summary
public int getMaxRows()
getOffsetParameterback to summary
public JdbcParameter getOffsetParameter()
getRowsToSkipback to summary
public int getRowsToSkip()
isCompatibleback to summary
private boolean isCompatible(JdbcParameter parameter, Integer requestedValue, int defaultValue)
isCompatibleWithback to summary
public boolean isCompatibleWith(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions)

Overrides org.hibernate.sql.exec.spi.AbstractJdbcOperationQuery.isCompatibleWith.

Implements org.hibernate.sql.exec.spi.JdbcOperationQuery.isCompatibleWith.

Annotations
@Override
usesLimitParametersback to summary
public boolean usesLimitParameters()