Uses of Interface
org.springframework.graphql.data.pagination.CursorStrategy
Package
Description
Resolvers for method parameters of annotated handler methods.
Core contracts and generic infrastructure classes for pagination.
DataFetcher
implementations built on Spring Data
extensions such as Query by Example and Querydsl.-
Uses of CursorStrategy in org.springframework.graphql.data.method.annotation.support
ModifierConstructorDescriptionScrollSubrangeMethodArgumentResolver
(CursorStrategy<org.springframework.data.domain.ScrollPosition> strategy) SubrangeMethodArgumentResolver
(CursorStrategy<P> cursorStrategy) -
Uses of CursorStrategy in org.springframework.graphql.data.pagination
Modifier and TypeClassDescriptionfinal class
Decorator for aCursorStrategy
that applies aCursorEncoder
to the cursor String to make it opaque for external use.Modifier and TypeMethodDescriptionConnectionAdapterSupport.getCursorStrategy()
Return the configuredCursorStrategy
.EncodingCursorStrategy.getDelegate()
Return the decoratedCursorStrategy
.Modifier and TypeMethodDescriptionstatic <T> EncodingCursorStrategy<T>
CursorStrategy.withEncoder
(CursorStrategy<T> strategy, CursorEncoder encoder) Decorate the givenCursorStrategy
with encoding and decoding that makes the String cursor opaque to clients.ModifierConstructorDescriptionprotected
ConnectionAdapterSupport
(CursorStrategy<P> cursorStrategy) Constructor with aCursorStrategy
to use. -
Uses of CursorStrategy in org.springframework.graphql.data.query
Modifier and TypeClassDescriptionfinal class
Strategy to convert akeyset
to and from a JSON String for use withScrollPositionCursorStrategy
.final class
Strategy to convert aScrollPosition
to and from a String cursor.Modifier and TypeMethodDescriptionstatic RuntimeWiringConfigurer
QueryByExampleDataFetcher.autoRegistrationConfigurer
(List<org.springframework.data.repository.query.QueryByExampleExecutor<?>> executors, List<org.springframework.data.repository.query.ReactiveQueryByExampleExecutor<?>> reactiveExecutors, CursorStrategy<org.springframework.data.domain.ScrollPosition> cursorStrategy, ScrollSubrange defaultScrollSubrange) Return aRuntimeWiringConfigurer
that installs aWiringFactory
to find queries with a return type whose name matches to the domain type name of the given repositories and registersDataFetcher
s for them.static RuntimeWiringConfigurer
QuerydslDataFetcher.autoRegistrationConfigurer
(List<org.springframework.data.querydsl.QuerydslPredicateExecutor<?>> executors, List<org.springframework.data.querydsl.ReactiveQuerydslPredicateExecutor<?>> reactiveExecutors, CursorStrategy<org.springframework.data.domain.ScrollPosition> cursorStrategy, ScrollSubrange defaultScrollSubrange) Return aRuntimeWiringConfigurer
that installs aWiringFactory
to find queries with a return type whose name matches to the domain type name of the given repositories and registersDataFetcher
s for them.QueryByExampleDataFetcher.Builder.cursorStrategy
(CursorStrategy<org.springframework.data.domain.ScrollPosition> cursorStrategy) Configure strategy for decoding a cursor from a paginated request.QueryByExampleDataFetcher.ReactiveBuilder.cursorStrategy
(CursorStrategy<org.springframework.data.domain.ScrollPosition> cursorStrategy) Configure strategy for decoding a cursor from a paginated request.QuerydslDataFetcher.Builder.cursorStrategy
(CursorStrategy<org.springframework.data.domain.ScrollPosition> cursorStrategy) Configure strategy for decoding a cursor from a paginated request.QuerydslDataFetcher.ReactiveBuilder.cursorStrategy
(CursorStrategy<org.springframework.data.domain.ScrollPosition> cursorStrategy) Configure strategy for decoding a cursor from a paginated request.ModifierConstructorDescriptionScrollPositionCursorStrategy
(CursorStrategy<Map<String, Object>> keysetCursorStrategy) Constructor with a given strategy to convert akeyset
to and from a cursor.SliceConnectionAdapter
(CursorStrategy<org.springframework.data.domain.ScrollPosition> strategy) Constructor with theCursorStrategy
to use to encode theScrollPosition
of page items.WindowConnectionAdapter
(CursorStrategy<org.springframework.data.domain.ScrollPosition> strategy)