クラス KeyBoundCursor<T>
java.lang.ObjectSE
org.springframework.data.redis.core.ScanCursor<T>
org.springframework.data.redis.core.KeyBoundCursor<T>
- 型パラメーター:
T
-
- 実装されたすべてのインターフェース:
CloseableSE
、AutoCloseableSE
、IteratorSE<T>
、Cursor<T>
、CloseableIterator<T>
- 導入:
- 1.4
- 作成者:
- Christoph Strobl
ネストされたクラスのサマリー
インターフェース org.springframework.data.redis.core.Cursor から継承されたネストクラス / インターフェース
Cursor.CursorId
コンストラクターのサマリー
コンストラクター説明KeyBoundCursor
(byte[] key, long cursorId, ScanOptions options) 使用すべきではありません。KeyBoundCursor
(byte[] key, Cursor.CursorId cursorId, ScanOptions options) 新しいScanCursor
を作成しますメソッドのサマリー
修飾子と型メソッド説明protected abstract ScanIteration<T>
doScan
(byte[] key, Cursor.CursorId cursorId, ScanOptions options) protected ScanIteration<T>
doScan
(long cursorId, ScanOptions options) ネイティブクライアントの実装を使用して、実際のスキャンコマンドを実行します。protected ScanIteration<T>
doScan
(Cursor.CursorId cursorId, ScanOptions options) ネイティブクライアントの実装を使用して、実際のスキャンコマンドを実行します。byte[]
getKey()
クラス org.springframework.data.redis.core.ScanCursor から継承されたメソッド
close, doClose, doOpen, doOpen, getCursorId, getId, getPosition, hasNext, isClosed, isFinished, isFinished, isOpen, isReady, moveNext, next, open, remove
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.data.util.CloseableIterator から継承されたメソッド
spliterator, stream
インターフェース java.util.IteratorSE から継承されたメソッド
forEachRemainingSE
コンストラクターの詳細
KeyBoundCursor
@DeprecatedSE(since="3.3.0") public KeyBoundCursor(byte[] key, long cursorId, @Nullable ScanOptions options) 使用すべきではありません。3.3.0 以降 - 代わりにKeyBoundCursor(byte[], CursorId, ScanOptions)
を使用してください。新しいScanCursor
を作成します- パラメーター:
cursorId
-options
- null の場合、デフォルトでScanOptions.NONE
になります。
KeyBoundCursor
新しいScanCursor
を作成します- パラメーター:
cursorId
-options
- null の場合、デフォルトでScanOptions.NONE
になります。- 導入:
- 3.3.0
メソッドの詳細
doScan
クラスからコピーされた説明:ScanCursor
ネイティブクライアントの実装を使用して、実際のスキャンコマンドを実行します。指定されたオプションは決してnull
ではありません。- オーバーライド:
- クラス
ScanCursor<T>
のdoScan
- 戻り値:
doScan
クラスからコピーされた説明:ScanCursor
ネイティブクライアントの実装を使用して、実際のスキャンコマンドを実行します。指定されたオプションは決してnull
ではありません。- オーバーライド:
- クラス
ScanCursor<T>
のdoScan
- 戻り値:
doScan
protected abstract ScanIteration<T> doScan(byte[] key, Cursor.CursorId cursorId, ScanOptions options) getKey
public byte[] getKey()
KeyBoundCursor(byte[], CursorId, ScanOptions)
を使用してください。