Uses of Class
org.springframework.data.relational.core.query.Query
Package
Description
Core JDBC implementation.
JDBC-specific conversion classes.
Core domain types around DatabaseClient.
Query and update support.
Query support for relational database repositories.
-
Uses of Query in org.springframework.data.jdbc.core
Modifier and TypeMethodDescription<T> long
Counts the number of aggregates of a given type that match the givenquery
.<T> long
<T> boolean
Determine whether there are aggregates that match theQuery
<T> boolean
<T> Iterable<T>
Execute aSELECT
query and convert the resulting items to aIterable
that is sorted.<T> Page<T>
<T> Iterable<T>
<T> Page<T>
<T> Optional<T>
Execute aSELECT
query and convert the resulting item to an entity ensuring exactly one result.<T> Optional<T>
-
Uses of Query in org.springframework.data.jdbc.core.convert
Modifier and TypeMethodDescription<T> long
<T> long
Counts the rows in the table representing the given probe type, that match the givenquery
.<T> long
<T> long
<T> boolean
<T> boolean
Determine whether there is an aggregate of typedomainType
that matches the providedQuery
.<T> boolean
<T> boolean
<T> Iterable<T>
<T> Iterable<T>
<T> Iterable<T>
Execute aSELECT
query and convert the resulting items to aIterable
.<T> Iterable<T>
Execute aSELECT
query and convert the resulting items to aIterable
.<T> Iterable<T>
<T> Iterable<T>
<T> Iterable<T>
<T> Iterable<T>
<T> Optional<T>
<T> Optional<T>
Execute aSELECT
query and convert the resulting item to an entity ensuring exactly one result.<T> Optional<T>
<T> Optional<T>
-
Uses of Query in org.springframework.data.jdbc.mybatis
-
Uses of Query in org.springframework.data.jdbc.repository.support
-
Uses of Query in org.springframework.data.r2dbc.core
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Long>
Returns the number of rows for the given entity class applyingQuery
.reactor.core.publisher.Mono<Long>
reactor.core.publisher.Mono<Long>
Remove entities (rows)/columns from the table byQuery
.reactor.core.publisher.Mono<Long>
reactor.core.publisher.Mono<Boolean>
Determine whether the result forentityClass
Query
yields at least one row.reactor.core.publisher.Mono<Boolean>
Define theQuery
used to filter elements in the delete.Set theQuery
used as a filter in theSELECT
statement.Filter rows to update by the givenQuery
.<T> reactor.core.publisher.Flux<T>
Execute aSELECT
query and convert the resulting items to a stream of entities.<T> reactor.core.publisher.Flux<T>
<T> reactor.core.publisher.Mono<T>
Execute aSELECT
query and convert the resulting item to an entity ensuring exactly one result.<T> reactor.core.publisher.Mono<T>
reactor.core.publisher.Mono<Long>
Update the queried entities and return true if the update was applied.reactor.core.publisher.Mono<Long>
-
Uses of Query in org.springframework.data.relational.core.query
Modifier and TypeMethodDescriptionAdd columns to the query.Query.columns
(Collection<String> columns) Add columns to the query.Query.columns
(SqlIdentifier... columns) Add columns to the query.static Query
Query.empty()
Create a new emptyQuery
.Query.limit
(int limit) Limit the number of returned documents tolimit
.Query.offset
(long offset) Set number of rows to skip before returning results.static Query
Query.query
(CriteriaDefinition criteria) Static factory method to create aQuery
using the providedCriteriaDefinition
.Set the given pagination information on theQuery
instance. -
Uses of Query in org.springframework.data.relational.repository.query
Modifier and TypeMethodDescription<T> Query
RelationalExampleMapper.getMappedExample
(Example<T> example)