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
ConstructorsModifierConstructorDescriptionprotectedConnectionAdapterSupport(CursorStrategy<P> cursorStrategy) Constructor with aCursorStrategyto use. -
Method Summary
-
Constructor Details
-
ConnectionAdapterSupport
Constructor with aCursorStrategyto use.- Parameters:
cursorStrategy- the cursor strategy to use
-
-
Method Details
-
getCursorStrategy
Return the configuredCursorStrategy.
-