クラス WindowConnectionAdapter
java.lang.ObjectSE
org.springframework.graphql.data.pagination.ConnectionAdapterSupport<org.springframework.data.domain.ScrollPosition>
org.springframework.graphql.data.query.WindowConnectionAdapter
- 実装済みのインターフェース一覧:
ConnectionAdapter
public final class WindowConnectionAdapter
extends ConnectionAdapterSupport<org.springframework.data.domain.ScrollPosition>
implements ConnectionAdapter
Window から Connection へのアダプター。- 導入:
- 1.2.0
- 作成者:
- Rossen Stoyanchev
コンストラクター概要
コンストラクターコンストラクター説明WindowConnectionAdapter(CursorStrategy<org.springframework.data.domain.ScrollPosition> strategy) 方法の概要
修飾子と型メソッド説明指定されたインデックスにある項目のカーソルを返します。<T> CollectionSE<T> getContent(ObjectSE container) 含まれている項目をリストとして返します。booleanこのページの後にさらにページがあるかどうか。booleanhasPrevious(ObjectSE container) このページの前にさらにページがあるかどうか。booleanアダプターが指定されたオブジェクトコンテナー型をサポートするかどうか。クラス org.springframework.graphql.data.pagination.ConnectionAdapterSupport から継承されたメソッド
getCursorStrategyクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.graphql.data.pagination.ConnectionAdapter から継承されたメソッド
createConnection
コンストラクターの詳細
WindowConnectionAdapter
public WindowConnectionAdapter(CursorStrategy<org.springframework.data.domain.ScrollPosition> strategy)
メソッドの詳細
supports
インターフェースからコピーされた説明:ConnectionAdapterアダプターが指定されたオブジェクトコンテナー型をサポートするかどうか。- 次で指定:
- インターフェース
ConnectionAdapterのsupports - パラメーター:
containerType- サポートを確認するコンテナー型
getContent
インターフェースからコピーされた説明:ConnectionAdapter含まれている項目をリストとして返します。- 次で指定:
- インターフェース
ConnectionAdapterのgetContent - 型パラメーター:
T- コレクション内のオブジェクトの型- パラメーター:
container- 要素のコンテナー
hasPrevious
インターフェースからコピーされた説明:ConnectionAdapterこのページの前にさらにページがあるかどうか。- 次で指定:
- インターフェース
ConnectionAdapterのhasPrevious - パラメーター:
container- 要素のコンテナー
hasNext
インターフェースからコピーされた説明:ConnectionAdapterこのページの後にさらにページがあるかどうか。- 次で指定:
- インターフェース
ConnectionAdapterのhasNext - パラメーター:
container- 要素のコンテナー
cursorAt
インターフェースからコピーされた説明:ConnectionAdapter指定されたインデックスにある項目のカーソルを返します。- 次で指定:
- インターフェース
ConnectionAdapterのcursorAt - パラメーター:
container- 要素のコンテナーindex- コンテナー内の要素のインデックス