Class ConnectionAdapterSupport<P>

java.lang.Object
org.springframework.graphql.data.pagination.ConnectionAdapterSupport<P>
Type Parameters:
P - the position type
Direct Known Subclasses:
SliceConnectionAdapter, WindowConnectionAdapter

public class ConnectionAdapterSupport<P> extends Object
Convenient base class for implementations of ConnectionAdapter.
Since:
1.2.0
Author:
Rossen Stoyanchev
  • Constructor Details

    • ConnectionAdapterSupport

      protected ConnectionAdapterSupport(CursorStrategy<P> cursorStrategy)
      Constructor with a CursorStrategy to use.
      Parameters:
      cursorStrategy - the cursor strategy to use
  • Method Details