Package | Description |
---|---|
org.springframework.data.relational.core.query |
Query and update support.
|
org.springframework.data.relational.repository.query |
Query support for relational database repositories.
|
Modifier and Type | Method and Description |
---|---|
Query |
Query.columns(Collection<String> columns)
Add columns to the query.
|
Query |
Query.columns(SqlIdentifier... columns)
Add columns to the query.
|
Query |
Query.columns(String... columns)
Add columns to the query.
|
static Query |
Query.empty()
Create a new empty
Query . |
Query |
Query.limit(int limit)
Limit the number of returned documents to
limit . |
Query |
Query.offset(long offset)
Set number of rows to skip before returning results.
|
static Query |
Query.query(CriteriaDefinition criteria)
Static factory method to create a
Query using the provided CriteriaDefinition . |
Query |
Query.sort(org.springframework.data.domain.Sort sort)
Add a
Sort to the Query instance. |
Query |
Query.with(org.springframework.data.domain.Pageable pageable)
Set the given pagination information on the
Query instance. |
Modifier and Type | Method and Description |
---|---|
<T> Query |
RelationalExampleMapper.getMappedExample(org.springframework.data.domain.Example<T> example)
Use the
Example to extract a Query . |
Copyright © 2017–2023 Pivotal Software, Inc.. All rights reserved.