Package org.hibernate.sql.exec.spi
Class JdbcOperationQuerySelect
- java.lang.Object
-
- org.hibernate.sql.exec.spi.AbstractJdbcOperationQuery
-
- org.hibernate.sql.exec.spi.JdbcOperationQuerySelect
-
- All Implemented Interfaces:
JdbcOperation
,JdbcOperationQuery
public class JdbcOperationQuerySelect extends AbstractJdbcOperationQuery
Executable JDBC command
-
-
Field Summary
-
Fields inherited from class org.hibernate.sql.exec.spi.AbstractJdbcOperationQuery
affectedTableNames, appliedParameters, parameterBinders, sql
-
-
Constructor Summary
Constructors Constructor Description JdbcOperationQuerySelect(String sql, List<JdbcParameterBinder> parameterBinders, JdbcValuesMappingProducer jdbcValuesMappingProducer, Set<String> affectedTableNames)
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)
JdbcOperationQuerySelect(String sql, List<JdbcParameterBinder> parameterBinders, JdbcValuesMappingProducer jdbcValuesMappingProducer, Set<String> affectedTableNames, Set<FilterJdbcParameter> filterJdbcParameters)
Deprecated.filterJdbcParameters
is no longer usedJdbcOperationQuerySelect(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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JdbcValuesMappingProducer
getJdbcValuesMappingProducer()
JdbcParameter
getLimitParameter()
JdbcLockStrategy
getLockStrategy()
int
getMaxRows()
JdbcParameter
getOffsetParameter()
int
getRowsToSkip()
boolean
isCompatibleWith(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions)
boolean
usesLimitParameters()
-
Methods inherited from class org.hibernate.sql.exec.spi.AbstractJdbcOperationQuery
dependsOnParameterBindings, getAffectedTableNames, getAppliedParameters, getParameterBinders, getSqlString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.exec.spi.JdbcOperationQuery
getFilterJdbcParameters
-
-
-
-
Constructor Detail
-
JdbcOperationQuerySelect
@Deprecated public JdbcOperationQuerySelect(String sql, List<JdbcParameterBinder> parameterBinders, JdbcValuesMappingProducer jdbcValuesMappingProducer, Set<String> affectedTableNames, Set<FilterJdbcParameter> filterJdbcParameters)
Deprecated.filterJdbcParameters
is no longer used
-
JdbcOperationQuerySelect
public JdbcOperationQuerySelect(String sql, List<JdbcParameterBinder> parameterBinders, JdbcValuesMappingProducer jdbcValuesMappingProducer, Set<String> affectedTableNames)
-
JdbcOperationQuerySelect
@Deprecated 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
-
JdbcOperationQuerySelect
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
-
getJdbcValuesMappingProducer
public JdbcValuesMappingProducer getJdbcValuesMappingProducer()
-
getRowsToSkip
public int getRowsToSkip()
-
getMaxRows
public int getMaxRows()
-
usesLimitParameters
public boolean usesLimitParameters()
-
getOffsetParameter
public JdbcParameter getOffsetParameter()
-
getLimitParameter
public JdbcParameter getLimitParameter()
-
getLockStrategy
public JdbcLockStrategy getLockStrategy()
-
isCompatibleWith
public boolean isCompatibleWith(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions)
- Specified by:
isCompatibleWith
in interfaceJdbcOperationQuery
- Overrides:
isCompatibleWith
in classAbstractJdbcOperationQuery
-
-