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, typically used withinScrollPositionCursorStrategy
to assist with converting keys to and from a String.final class
Strategy to convert aScrollPosition
to and from a String cursor.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)