Class ConnectionAdapterSupport<P>
java.lang.Object
org.springframework.graphql.data.pagination.ConnectionAdapterSupport<P>
- Type Parameters:
P
- the position type
- Direct Known Subclasses:
SliceConnectionAdapter
,WindowConnectionAdapter
Convenient base class for implementations of
ConnectionAdapter
.- Since:
- 1.2.0
- Author:
- Rossen Stoyanchev
-
Constructor Summary
ModifierConstructorDescriptionprotected
ConnectionAdapterSupport
(CursorStrategy<P> cursorStrategy) Constructor with aCursorStrategy
to use. -
Method Summary
-
Constructor Details
-
ConnectionAdapterSupport
Constructor with aCursorStrategy
to use.- Parameters:
cursorStrategy
- the cursor strategy to use
-
-
Method Details
-
getCursorStrategy
Return the configuredCursorStrategy
.
-