public abstract class AbstractR2dbcQuery extends Object implements RepositoryQuery
RepositoryQuery implementations for R2DBC.| Constructor and Description |
|---|
AbstractR2dbcQuery(R2dbcQueryMethod method,
DatabaseClient databaseClient,
R2dbcConverter converter)
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract BindableQuery |
createQuery(org.springframework.data.relational.repository.query.RelationalParameterAccessor accessor)
Creates a
BindableQuery instance using the given ParameterAccessor |
Object |
execute(Object[] parameters) |
R2dbcQueryMethod |
getQueryMethod() |
protected abstract boolean |
isModifyingQuery()
Returns whether this query is a modifying one.
|
public AbstractR2dbcQuery(R2dbcQueryMethod method, DatabaseClient databaseClient, R2dbcConverter converter)
method - must not be null.databaseClient - must not be null.converter - must not be null.public R2dbcQueryMethod getQueryMethod()
getQueryMethod in interface RepositoryQuerypublic Object execute(Object[] parameters)
execute in interface RepositoryQueryprotected abstract boolean isModifyingQuery()
protected abstract BindableQuery createQuery(org.springframework.data.relational.repository.query.RelationalParameterAccessor accessor)
BindableQuery instance using the given ParameterAccessoraccessor - must not be null.BindableQuery.Copyright © 2018–2020 Pivotal Software, Inc.. All rights reserved.