Class StatementFactory.SelectionBuilder
java.lang.Object
org.springframework.data.jdbc.repository.query.StatementFactory.SelectionBuilder
- Enclosing class:
StatementFactory
- Since:
- 4.0
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionbuild(MapSqlParameterSource parameterSource) Build the SQL statement and assign parameters to the givenParametersSource.<T extends @Nullable Object>
TexecuteWith(StatementFactory.StatementFunction<T> function) Build the SQL statement and apply the given function to the SQL string and its parameters.limit(int limit) project(Collection<String> properties)
-
Method Details
-
project
@Contract("_ -> this") public StatementFactory.SelectionBuilder project(Collection<String> properties) -
project
-
orderBy
-
page
-
limit
-
limit
-
filter
-
lock
-
executeWith
Build the SQL statement and apply the given function to the SQL string and its parameters.- Type Parameters:
T- type of the function result.- Parameters:
function- SQL statement function accepting SQL string and parameters.- Returns:
- the function result.
-
build
Build the SQL statement and assign parameters to the givenParametersSource.- Parameters:
parameterSource- the parameter source to be populated.- Returns:
- the build SQL statement.
-