Uses of Class
org.springframework.graphql.data.query.QueryByExampleDataFetcher.Builder
Package
Description
DataFetcher
implementations built on Spring Data
extensions such as Query by Example and Querydsl.-
Uses of QueryByExampleDataFetcher.Builder in org.springframework.graphql.data.query
Modifier and TypeMethodDescriptionstatic <T> QueryByExampleDataFetcher.Builder<T,
T> QueryByExampleDataFetcher.builder
(org.springframework.data.repository.query.QueryByExampleExecutor<T> executor) Create a newQueryByExampleDataFetcher.Builder
acceptingQueryByExampleExecutor
to build aDataFetcher
.QueryByExampleDataFetcher.Builder.cursorStrategy
(CursorStrategy<org.springframework.data.domain.ScrollPosition> cursorStrategy) Configure strategy for decoding a cursor from a paginated request.QueryByExampleDataFetcher.QueryByExampleBuilderCustomizer.customize
(QueryByExampleDataFetcher.Builder<T, ?> builder) Callback to customize aQueryByExampleDataFetcher.Builder
instance.QueryByExampleDataFetcher.Builder.defaultScrollSubrange
(int defaultCount, Function<Boolean, org.springframework.data.domain.ScrollPosition> defaultPosition) Configure a default scroll count to use, and function to return a defaultScrollPosition
for forward vs backward pagination.QueryByExampleDataFetcher.Builder.defaultScrollSubrange
(ScrollSubrange defaultSubrange) Deprecated, for removal: This API element is subject to removal in a future version.Project results returned from theQueryByExampleExecutor
into the targetprojectionType
.QueryByExampleDataFetcher.Builder.sortBy
(org.springframework.data.domain.Sort sort) Apply aSort
order.Modifier and TypeMethodDescriptionQueryByExampleDataFetcher.QueryByExampleBuilderCustomizer.customize
(QueryByExampleDataFetcher.Builder<T, ?> builder) Callback to customize aQueryByExampleDataFetcher.Builder
instance.
defaultScrollSubrange(int, Function)