public class IgniteQueryGenerator extends Object
Modifier and Type | Method and Description |
---|---|
static StringBuilder |
addPaging(StringBuilder sql,
org.springframework.data.domain.Pageable pageable)
Add a dynamic part of a query for the pagination support.
|
static StringBuilder |
addSorting(StringBuilder sql,
org.springframework.data.domain.Sort sort)
Add a dynamic part of query for the sorting support.
|
static @NotNull IgniteQuery |
generateSql(Method mtd,
org.springframework.data.repository.core.RepositoryMetadata metadata) |
static org.apache.ignite.springdata22.repository.query.IgniteQuery.Option |
getOptions(Method mtd)
Determines whether query is dynamic or not (by list of method parameters)
|
@NotNull public static @NotNull IgniteQuery generateSql(Method mtd, org.springframework.data.repository.core.RepositoryMetadata metadata)
mtd
- Method.metadata
- Metadata.public static StringBuilder addSorting(StringBuilder sql, org.springframework.data.domain.Sort sort)
sql
- SQL text string.sort
- Sort method.public static StringBuilder addPaging(StringBuilder sql, org.springframework.data.domain.Pageable pageable)
sql
- Builder instance.pageable
- Pageable instance.public static org.apache.ignite.springdata22.repository.query.IgniteQuery.Option getOptions(Method mtd)
mtd
- Method.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024