public class PartTreeR2dbcQuery extends AbstractR2dbcQuery
AbstractR2dbcQuery
implementation based on a PartTree
.Constructor and Description |
---|
PartTreeR2dbcQuery(R2dbcQueryMethod method,
R2dbcEntityOperations entityOperations,
R2dbcConverter converter,
ReactiveDataAccessStrategy dataAccessStrategy)
Creates new instance of this class with the given
R2dbcQueryMethod , DatabaseClient ,
R2dbcConverter and ReactiveDataAccessStrategy . |
Modifier and Type | Method and Description |
---|---|
protected reactor.core.publisher.Mono<PreparedOperation<?>> |
createQuery(org.springframework.data.relational.repository.query.RelationalParameterAccessor accessor)
Creates a
BindableQuery instance using the given ParameterAccessor |
protected boolean |
isCountQuery()
Returns whether the query should get a count projection applied.
|
protected boolean |
isExistsQuery()
Returns whether the query should get an exists projection applied.
|
protected boolean |
isModifyingQuery()
Returns whether this query is a modifying one.
|
String |
toString() |
execute, getQueryMethod
public PartTreeR2dbcQuery(R2dbcQueryMethod method, R2dbcEntityOperations entityOperations, R2dbcConverter converter, ReactiveDataAccessStrategy dataAccessStrategy)
R2dbcQueryMethod
, DatabaseClient
,
R2dbcConverter
and ReactiveDataAccessStrategy
.method
- query method, must not be null.entityOperations
- entity operations, must not be null.converter
- converter, must not be null.dataAccessStrategy
- data access strategy, must not be null.protected boolean isModifyingQuery()
AbstractR2dbcQuery
isModifyingQuery
in class AbstractR2dbcQuery
protected boolean isCountQuery()
AbstractR2dbcQuery
isCountQuery
in class AbstractR2dbcQuery
protected boolean isExistsQuery()
AbstractR2dbcQuery
isExistsQuery
in class AbstractR2dbcQuery
protected reactor.core.publisher.Mono<PreparedOperation<?>> createQuery(org.springframework.data.relational.repository.query.RelationalParameterAccessor accessor)
AbstractR2dbcQuery
BindableQuery
instance using the given ParameterAccessor
createQuery
in class AbstractR2dbcQuery
accessor
- must not be null.BindableQuery
.Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.