インターフェース ReactiveHashCommands
- 既知のすべてのサブインターフェース:
ReactiveClusterHashCommands
public interface ReactiveHashCommands
リアクティブインフラストラクチャを使用して実行される Redis ハッシュコマンド。
- 導入:
- 2.0
- 作成者:
- Christoph Strobl, Mark Paluch
ネストされたクラスの概要
ネストされたクラス修飾子と型インターフェース説明static classstatic classHEXISTSReactiveRedisConnection.Command。static classstatic classHRANDFIELDReactiveRedisConnection.Command。static classstatic class方法の概要
修飾子と型メソッド説明default reactor.core.publisher.Mono<BooleanSE>hDel(ByteBufferSE key, ByteBufferSE field) 指定されたハッシュフィールドを削除します。default reactor.core.publisher.Mono<LongSE>hDel(ByteBufferSE key, CollectionSE<ByteBufferSE> fields) 指定されたハッシュフィールドを削除します。reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveHashCommands.HDelCommand,LongSE>> hDel(org.reactivestreams.Publisher<ReactiveHashCommands.HDelCommand> commands) 指定されたハッシュフィールドを削除します。default reactor.core.publisher.Mono<BooleanSE>hExists(ByteBufferSE key, ByteBufferSE field) 指定されたハッシュフィールドが存在するかどうかを判別します。reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveHashCommands.HExistsCommand>>hExists(org.reactivestreams.Publisher<ReactiveHashCommands.HExistsCommand> commands) 指定されたハッシュフィールドが存在するかどうかを判別します。default reactor.core.publisher.Mono<ByteBufferSE>hGet(ByteBufferSE key, ByteBufferSE field) キーのハッシュから指定されたフィールドの値を取得します。default reactor.core.publisher.Flux<Map.EntrySE<ByteBufferSE,ByteBufferSE>> hGetAll(ByteBufferSE key) キーに保存されているハッシュ全体を取得します。reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveRedisConnection.KeyCommand,reactor.core.publisher.Flux<Map.EntrySE<ByteBufferSE, ByteBufferSE>>>> hGetAll(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyCommand> commands) キーに保存されているハッシュ全体を取得します。default reactor.core.publisher.Flux<ByteBufferSE>hKeys(ByteBufferSE key) キーでハッシュのキーセット(フィールド)を取得します。reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveRedisConnection.KeyCommand,reactor.core.publisher.Flux<ByteBufferSE>>> hKeys(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyCommand> commands) キーでハッシュのキーセット(フィールド)を取得します。default reactor.core.publisher.Mono<LongSE>hLen(ByteBufferSE key) キーでハッシュのサイズを取得します。reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveRedisConnection.KeyCommand,LongSE>> hLen(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyCommand> commands) キーでハッシュのサイズを取得します。default reactor.core.publisher.Mono<ListSE<ByteBufferSE>>hMGet(ByteBufferSE key, CollectionSE<ByteBufferSE> fields) キーのハッシュから特定のフィールドの値を取得します。reactor.core.publisher.Flux<ReactiveRedisConnection.MultiValueResponse<ReactiveHashCommands.HGetCommand,ByteBufferSE>> hMGet(org.reactivestreams.Publisher<ReactiveHashCommands.HGetCommand> commands) キーのハッシュから特定のフィールドの値を取得します。default reactor.core.publisher.Mono<BooleanSE>hMSet(ByteBufferSE key, MapSE<ByteBufferSE, ByteBufferSE> fieldValueMap) fieldValueMap で提供されるデータを使用して、複数のハッシュフィールドに複数の値を設定します。default reactor.core.publisher.Mono<ByteBufferSE>hRandField(ByteBufferSE key) keyに格納されているハッシュからランダムフィールドを返します。default reactor.core.publisher.Flux<ByteBufferSE>hRandField(ByteBufferSE key, long count) keyに格納されているハッシュからランダムフィールドを返します。reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveHashCommands.HRandFieldCommand,reactor.core.publisher.Flux<ByteBufferSE>>> hRandField(org.reactivestreams.Publisher<ReactiveHashCommands.HRandFieldCommand> commands) キーでハッシュの確率場を取得します。default reactor.core.publisher.Mono<Map.EntrySE<ByteBufferSE,ByteBufferSE>> keyに格納されている値とともに、ハッシュからランダムフィールドを返します。default reactor.core.publisher.Flux<Map.EntrySE<ByteBufferSE,ByteBufferSE>> hRandFieldWithValues(ByteBufferSE key, long count) keyに格納されている値とともに、ハッシュからランダムフィールドを返します。reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveHashCommands.HRandFieldCommand,reactor.core.publisher.Flux<Map.EntrySE<ByteBufferSE, ByteBufferSE>>>> hRandFieldWithValues(org.reactivestreams.Publisher<ReactiveHashCommands.HRandFieldCommand> commands) キーのハッシュの値に沿って確率場を取得します。default reactor.core.publisher.Flux<Map.EntrySE<ByteBufferSE,ByteBufferSE>> hScan(ByteBufferSE key) Fluxを使用して、keyのハッシュ内のエントリを反復処理します。default reactor.core.publisher.Flux<Map.EntrySE<ByteBufferSE,ByteBufferSE>> hScan(ByteBufferSE key, ScanOptions options) reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveRedisConnection.KeyCommand,reactor.core.publisher.Flux<Map.EntrySE<ByteBufferSE, ByteBufferSE>>>> hScan(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyScanCommand> commands) Fluxを使用して、keyのハッシュ内のエントリを反復処理します。default reactor.core.publisher.Mono<BooleanSE>hSet(ByteBufferSE key, ByteBufferSE field, ByteBufferSE value) ハッシュフィールドの値を設定します。reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveHashCommands.HSetCommand>>hSet(org.reactivestreams.Publisher<ReactiveHashCommands.HSetCommand> commands) ハッシュフィールドの値を設定します。default reactor.core.publisher.Mono<BooleanSE>hSetNX(ByteBufferSE key, ByteBufferSE field, ByteBufferSE value) ハッシュフィールドの値を設定します。default reactor.core.publisher.Mono<LongSE>hStrLen(ByteBufferSE key, ByteBufferSE field) fieldに関連付けられた値の長さを取得します。reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveHashCommands.HStrLenCommand,LongSE>> hStrLen(org.reactivestreams.Publisher<ReactiveHashCommands.HStrLenCommand> commands) fieldに関連付けられた値の長さを取得します。default reactor.core.publisher.Flux<ByteBufferSE>hVals(ByteBufferSE key) キーでハッシュのエントリセット(値)を取得します。reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveRedisConnection.KeyCommand,reactor.core.publisher.Flux<ByteBufferSE>>> hVals(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyCommand> commands) キーでハッシュのエントリセット(値)を取得します。
方法の詳細
hSet
default reactor.core.publisher.Mono<BooleanSE> hSet(ByteBufferSE key, ByteBufferSE field, ByteBufferSE value) ハッシュフィールドの値を設定します。- パラメーター:
key- null であってはなりません。field- null であってはなりません。value- null であってはなりません。- 戻り値:
- 関連事項:
hSetNX
default reactor.core.publisher.Mono<BooleanSE> hSetNX(ByteBufferSE key, ByteBufferSE field, ByteBufferSE value) ハッシュフィールドの値を設定します。- パラメーター:
key- null であってはなりません。field- null であってはなりません。value- null であってはなりません。- 戻り値:
- 関連事項:
hMSet
default reactor.core.publisher.Mono<BooleanSE> hMSet(ByteBufferSE key, MapSE<ByteBufferSE, ByteBufferSE> fieldValueMap) fieldValueMap で提供されるデータを使用して、複数のハッシュフィールドに複数の値を設定します。- パラメーター:
key- null であってはなりません。fieldValueMap- null であってはなりません。- 戻り値:
- 関連事項:
hSet
reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveHashCommands.HSetCommand>> hSet(org.reactivestreams.Publisher<ReactiveHashCommands.HSetCommand> commands) ハッシュフィールドの値を設定します。- パラメーター:
commands- null であってはなりません。- 戻り値:
- 関連事項:
hGet
キーのハッシュから指定されたフィールドの値を取得します。- パラメーター:
key- null であってはなりません。field- null であってはなりません。- 戻り値:
- 関連事項:
hMGet
default reactor.core.publisher.Mono<ListSE<ByteBufferSE>> hMGet(ByteBufferSE key, CollectionSE<ByteBufferSE> fields) ハッシュのキーから指定されたフィールドの値を取得します。値はリクエストされたキーの順序になります。存在しないフィールド値は、結果のListSE では null を使用して表されます。- パラメーター:
key- null であってはなりません。fields- null であってはなりません。- 戻り値:
- 関連事項:
hMGet
reactor.core.publisher.Flux<ReactiveRedisConnection.MultiValueResponse<ReactiveHashCommands.HGetCommand,ByteBufferSE>> hMGet(org.reactivestreams.Publisher<ReactiveHashCommands.HGetCommand> commands) ハッシュのキーから指定されたフィールドの値を取得します。値はリクエストされたキーの順序になります。存在しないフィールド値は、結果のListSE では null を使用して表されます。- パラメーター:
commands- null であってはなりません。- 戻り値:
- 関連事項:
hExists
指定されたハッシュフィールドが存在するかどうかを判別します。- パラメーター:
key- null であってはなりません。field- null であってはなりません。- 戻り値:
- 関連事項:
hExists
reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveHashCommands.HExistsCommand>> hExists(org.reactivestreams.Publisher<ReactiveHashCommands.HExistsCommand> commands) 指定されたハッシュフィールドが存在するかどうかを判別します。- パラメーター:
commands-- 戻り値:
- 関連事項:
hDel
指定されたハッシュフィールドを削除します。- パラメーター:
key- null であってはなりません。field- null であってはなりません。- 戻り値:
- 関連事項:
hDel
default reactor.core.publisher.Mono<LongSE> hDel(ByteBufferSE key, CollectionSE<ByteBufferSE> fields) 指定されたハッシュフィールドを削除します。- パラメーター:
key- null であってはなりません。fields- null であってはなりません。- 戻り値:
- 関連事項:
hDel
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveHashCommands.HDelCommand,LongSE>> hDel(org.reactivestreams.Publisher<ReactiveHashCommands.HDelCommand> commands) 指定されたハッシュフィールドを削除します。- パラメーター:
commands- null であってはなりません。- 戻り値:
- 関連事項:
hLen
キーでハッシュのサイズを取得します。- パラメーター:
key- null であってはなりません。- 戻り値:
- 関連事項:
hLen
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveRedisConnection.KeyCommand,LongSE>> hLen(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyCommand> commands) キーでハッシュのサイズを取得します。- パラメーター:
commands- null であってはなりません。- 戻り値:
- 関連事項:
hRandField
keyに格納されているハッシュからランダムフィールドを返します。- パラメーター:
key- null であってはなりません。- 戻り値:
- 導入:
- 2.6
- 関連事項:
hRandFieldWithValues
default reactor.core.publisher.Mono<Map.EntrySE<ByteBufferSE,ByteBufferSE>> hRandFieldWithValues(ByteBufferSE key) keyに格納されている値とともに、ハッシュからランダムフィールドを返します。- パラメーター:
key- null であってはなりません。- 戻り値:
- 導入:
- 2.6
- 関連事項:
hRandField
keyに格納されているハッシュからランダムフィールドを返します。指定されたcount引数が正の場合、countまたはハッシュサイズのいずれかで制限された個別のフィールドのリストを返します。countが負の場合、動作が変更され、コマンドは同じフィールドを複数回返すことができます。この場合、返されるフィールドの数は、指定されたカウントの絶対値です。- パラメーター:
key- null であってはなりません。count- 返すフィールドの数。- 戻り値:
- 導入:
- 2.6
- 関連事項:
hRandFieldWithValues
default reactor.core.publisher.Flux<Map.EntrySE<ByteBufferSE,ByteBufferSE>> hRandFieldWithValues(ByteBufferSE key, long count) keyに格納されている値とともに、ハッシュからランダムフィールドを返します。指定されたcount引数が正の場合、countまたはハッシュサイズのいずれかで制限された個別のフィールドのリストを返します。countが負の場合、動作が変更され、コマンドは同じフィールドを複数回返すことができます。この場合、返されるフィールドの数は、指定されたカウントの絶対値です。- パラメーター:
key- null であってはなりません。count- 返すフィールドの数。- 戻り値:
- キーが存在しない場合、またはパイプライン / トランザクションで使用される場合は null。
- 導入:
- 2.6
- 関連事項:
hRandField
reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveHashCommands.HRandFieldCommand,reactor.core.publisher.Flux<ByteBufferSE>>> hRandField(org.reactivestreams.Publisher<ReactiveHashCommands.HRandFieldCommand> commands) キーでハッシュの確率場を取得します。- パラメーター:
commands- null であってはなりません。- 戻り値:
- 導入:
- 2.6
- 関連事項:
hRandFieldWithValues
reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveHashCommands.HRandFieldCommand,reactor.core.publisher.Flux<Map.EntrySE<ByteBufferSE, hRandFieldWithValuesByteBufferSE>>>> (org.reactivestreams.Publisher<ReactiveHashCommands.HRandFieldCommand> commands) キーのハッシュの値に沿って確率場を取得します。- パラメーター:
commands- null であってはなりません。- 戻り値:
- 導入:
- 2.6
- 関連事項:
hKeys
キーでハッシュのキーセット(フィールド)を取得します。- パラメーター:
key- null であってはなりません。- 戻り値:
- 関連事項:
hKeys
reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveRedisConnection.KeyCommand,reactor.core.publisher.Flux<ByteBufferSE>>> hKeys(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyCommand> commands) キーでハッシュのキーセット(フィールド)を取得します。- パラメーター:
commands- null であってはなりません。- 戻り値:
- 関連事項:
hVals
キーでハッシュのエントリセット(値)を取得します。- パラメーター:
key- null であってはなりません。- 戻り値:
- 関連事項:
hVals
reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveRedisConnection.KeyCommand,reactor.core.publisher.Flux<ByteBufferSE>>> hVals(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyCommand> commands) キーでハッシュのエントリセット(値)を取得します。- パラメーター:
commands- null であってはなりません。- 戻り値:
- 関連事項:
hGetAll
default reactor.core.publisher.Flux<Map.EntrySE<ByteBufferSE,ByteBufferSE>> hGetAll(ByteBufferSE key) キーに保存されているハッシュ全体を取得します。- パラメーター:
key- null であってはなりません。- 戻り値:
- 関連事項:
hGetAll
reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveRedisConnection.KeyCommand,reactor.core.publisher.Flux<Map.EntrySE<ByteBufferSE, hGetAllByteBufferSE>>>> (org.reactivestreams.Publisher<ReactiveRedisConnection.KeyCommand> commands) キーに保存されているハッシュ全体を取得します。- パラメーター:
commands- null であってはなりません。- 戻り値:
- 関連事項:
hScan
Fluxを使用して、keyのハッシュ内のエントリを反復処理します。結果のFluxはカーソルとして機能し、サブスクライバーが要求を通知する限り、HSCANコマンド自体を発行します。- パラメーター:
key- null であってはなりません。- 戻り値:
entriesSE を 1 つずつ放出するFlux。- 例外:
IllegalArgumentExceptionSE- 指定されたキーが null の場合。- 導入:
- 2.1
- 関連事項:
hScan
default reactor.core.publisher.Flux<Map.EntrySE<ByteBufferSE,ByteBufferSE>> hScan(ByteBufferSE key, ScanOptions options) Fluxを使用して、ScanOptionsが指定されたkeyのハッシュ内のエントリを反復処理します。結果のFluxはカーソルとして機能し、サブスクライバーが要求を通知する限り、HSCANコマンド自体を発行します。- パラメーター:
key- null であってはなりません。options- null であってはなりません。代わりにScanOptions.NONEを使用してください。- 戻り値:
Fluxは生のentriesSE を 1 つずつ放出します。- 例外:
IllegalArgumentExceptionSE- 必要な引数の 1 つが null の場合。- 導入:
- 2.1
- 関連事項:
hScan
reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveRedisConnection.KeyCommand,reactor.core.publisher.Flux<Map.EntrySE<ByteBufferSE, hScanByteBufferSE>>>> (org.reactivestreams.Publisher<ReactiveRedisConnection.KeyScanCommand> commands) Fluxを使用して、keyのハッシュ内のエントリを反復処理します。結果のFluxはカーソルとして機能し、サブスクライバーが要求を通知する限り、HSCANコマンド自体を発行します。- パラメーター:
commands- null であってはなりません。- 戻り値:
ReactiveRedisConnection.CommandResponseを 1 つずつ放出するFlux。- 導入:
- 2.1
- 関連事項:
hStrLen
fieldに関連付けられた値の長さを取得します。keyまたはfieldのいずれかが存在しない場合、0が発行されます。- パラメーター:
key- null であってはなりません。field- null であってはなりません。- 戻り値:
- 決して null にはなりません。
- 導入:
- 2.1
hStrLen
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveHashCommands.HStrLenCommand,LongSE>> hStrLen(org.reactivestreams.Publisher<ReactiveHashCommands.HStrLenCommand> commands) fieldに関連付けられた値の長さを取得します。keyまたはfieldのいずれかが存在しない場合、0が発行されます。- パラメーター:
commands- null であってはなりません。- 戻り値:
- 決して null にはなりません。
- 導入:
- 2.1