Class PartTreeJdbcQuery
java.lang.Object
org.springframework.data.jdbc.repository.query.AbstractJdbcQuery
org.springframework.data.jdbc.repository.query.PartTreeJdbcQuery
- All Implemented Interfaces:
org.springframework.data.repository.query.RepositoryQuery
An
AbstractJdbcQuery
implementation based on a PartTree
.- Since:
- 2.0
- Author:
- Mark Paluch, Jens Schauder, Diego Krupitza, Mikhail Polivakha
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.jdbc.repository.query.AbstractJdbcQuery
AbstractJdbcQuery.ConvertingRowMapper<T>, AbstractJdbcQuery.RowMapperFactory
-
Constructor Summary
ConstructorDescriptionPartTreeJdbcQuery
(RelationalMappingContext context, JdbcQueryMethod queryMethod, Dialect dialect, JdbcConverter converter, NamedParameterJdbcOperations operations, AbstractJdbcQuery.RowMapperFactory rowMapperFactory) Creates a newPartTreeJdbcQuery
.PartTreeJdbcQuery
(RelationalMappingContext context, JdbcQueryMethod queryMethod, Dialect dialect, JdbcConverter converter, NamedParameterJdbcOperations operations, RowMapper<Object> rowMapper) Creates a newPartTreeJdbcQuery
. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.data.jdbc.repository.query.ParametrizedQuery
createQuery
(RelationalParametersParameterAccessor accessor, org.springframework.data.repository.query.ReturnedType returnedType) Methods inherited from class org.springframework.data.jdbc.repository.query.AbstractJdbcQuery
createModifyingQueryExecutor, createReadingQueryExecution, getQueryExecution, getQueryMethod, resolveTypeToRead
-
Constructor Details
-
PartTreeJdbcQuery
public PartTreeJdbcQuery(RelationalMappingContext context, JdbcQueryMethod queryMethod, Dialect dialect, JdbcConverter converter, NamedParameterJdbcOperations operations, RowMapper<Object> rowMapper) Creates a newPartTreeJdbcQuery
.- Parameters:
context
- must not be null.queryMethod
- must not be null.dialect
- must not be null.converter
- must not be null.operations
- must not be null.rowMapper
- must not be null.
-
PartTreeJdbcQuery
public PartTreeJdbcQuery(RelationalMappingContext context, JdbcQueryMethod queryMethod, Dialect dialect, JdbcConverter converter, NamedParameterJdbcOperations operations, AbstractJdbcQuery.RowMapperFactory rowMapperFactory) Creates a newPartTreeJdbcQuery
.- Parameters:
context
- must not be null.queryMethod
- must not be null.dialect
- must not be null.converter
- must not be null.operations
- must not be null.rowMapperFactory
- must not be null.- Since:
- 2.3
-
-
Method Details
-
execute
-
createQuery
protected org.springframework.data.jdbc.repository.query.ParametrizedQuery createQuery(RelationalParametersParameterAccessor accessor, org.springframework.data.repository.query.ReturnedType returnedType)
-