public class LettuceReactiveSetCommands extends Object implements ReactiveSetCommands
ReactiveSetCommands.SAddCommand, ReactiveSetCommands.SDiffCommand, ReactiveSetCommands.SDiffStoreCommand, ReactiveSetCommands.SInterCommand, ReactiveSetCommands.SInterStoreCommand, ReactiveSetCommands.SIsMemberCommand, ReactiveSetCommands.SMoveCommand, ReactiveSetCommands.SRandMembersCommand, ReactiveSetCommands.SRemCommand, ReactiveSetCommands.SUnionCommand, ReactiveSetCommands.SUnionStoreCommand
Constructor and Description |
---|
LettuceReactiveSetCommands(LettuceReactiveRedisConnection connection)
Create new
LettuceReactiveSetCommands . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
sAdd, sAdd, sCard, sDiff, sDiffStore, sInter, sInterStore, sIsMember, sMembers, sMove, sPop, sRandMember, sRandMember, sRem, sRem, sUnion, sUnionStore
public LettuceReactiveSetCommands(LettuceReactiveRedisConnection connection)
LettuceReactiveSetCommands
.connection
- must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveSetCommands.SAddCommand,Long>> sAdd(org.reactivestreams.Publisher<ReactiveSetCommands.SAddCommand> commands)
ReactiveSetCommands
ReactiveSetCommands.SAddCommand.getValues()
to set at ReactiveRedisConnection.KeyCommand.getKey()
.sAdd
in interface ReactiveSetCommands
commands
- must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveSetCommands.SRemCommand,Long>> sRem(org.reactivestreams.Publisher<ReactiveSetCommands.SRemCommand> commands)
ReactiveSetCommands
ReactiveSetCommands.SRemCommand.getValues()
from set at ReactiveRedisConnection.KeyCommand.getKey()
.sRem
in interface ReactiveSetCommands
commands
- must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.ByteBufferResponse<ReactiveRedisConnection.KeyCommand>> sPop(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyCommand> commands)
ReactiveSetCommands
ReactiveRedisConnection.KeyCommand.getKey()
sPop
in interface ReactiveSetCommands
public reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveSetCommands.SMoveCommand>> sMove(org.reactivestreams.Publisher<ReactiveSetCommands.SMoveCommand> commands)
ReactiveSetCommands
ReactiveSetCommands.SMoveCommand.getValue()
from ReactiveRedisConnection.KeyCommand.getKey()
to ReactiveSetCommands.SMoveCommand.getDestination()
.sMove
in interface ReactiveSetCommands
commands
- must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveRedisConnection.KeyCommand,Long>> sCard(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyCommand> commands)
ReactiveSetCommands
ReactiveRedisConnection.KeyCommand.getKey()
.sCard
in interface ReactiveSetCommands
commands
- must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveSetCommands.SIsMemberCommand>> sIsMember(org.reactivestreams.Publisher<ReactiveSetCommands.SIsMemberCommand> commands)
ReactiveSetCommands
ReactiveRedisConnection.KeyCommand.getKey()
contains ReactiveRedisConnection.KeyCommand.getKey()
.sIsMember
in interface ReactiveSetCommands
commands
- must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.MultiValueResponse<ReactiveSetCommands.SInterCommand,ByteBuffer>> sInter(org.reactivestreams.Publisher<ReactiveSetCommands.SInterCommand> commands)
ReactiveSetCommands
ReactiveSetCommands.SInterCommand.getKeys()
.sInter
in interface ReactiveSetCommands
commands
- must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveSetCommands.SInterStoreCommand,Long>> sInterStore(org.reactivestreams.Publisher<ReactiveSetCommands.SInterStoreCommand> commands)
ReactiveSetCommands
sInterStore
in interface ReactiveSetCommands
commands
- must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.MultiValueResponse<ReactiveSetCommands.SUnionCommand,ByteBuffer>> sUnion(org.reactivestreams.Publisher<ReactiveSetCommands.SUnionCommand> commands)
ReactiveSetCommands
ReactiveSetCommands.SInterCommand.getKeys()
.sUnion
in interface ReactiveSetCommands
commands
- must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveSetCommands.SUnionStoreCommand,Long>> sUnionStore(org.reactivestreams.Publisher<ReactiveSetCommands.SUnionStoreCommand> commands)
ReactiveSetCommands
sUnionStore
in interface ReactiveSetCommands
commands
- must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.MultiValueResponse<ReactiveSetCommands.SDiffCommand,ByteBuffer>> sDiff(org.reactivestreams.Publisher<ReactiveSetCommands.SDiffCommand> commands)
ReactiveSetCommands
ReactiveSetCommands.SInterCommand.getKeys()
.sDiff
in interface ReactiveSetCommands
commands
- must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveSetCommands.SDiffStoreCommand,Long>> sDiffStore(org.reactivestreams.Publisher<ReactiveSetCommands.SDiffStoreCommand> commands)
ReactiveSetCommands
sDiffStore
in interface ReactiveSetCommands
commands
- must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.MultiValueResponse<ReactiveRedisConnection.KeyCommand,ByteBuffer>> sMembers(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyCommand> commands)
ReactiveSetCommands
ReactiveRedisConnection.KeyCommand.getKey()
.sMembers
in interface ReactiveSetCommands
commands
- must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.MultiValueResponse<ReactiveSetCommands.SRandMembersCommand,ByteBuffer>> sRandMember(org.reactivestreams.Publisher<ReactiveSetCommands.SRandMembersCommand> commands)
ReactiveSetCommands
ReactiveSetCommands.SRandMembersCommand.getCount()
random elements from set at ReactiveRedisConnection.KeyCommand.getKey()
.sRandMember
in interface ReactiveSetCommands
commands
- must not be null.protected LettuceReactiveRedisConnection getConnection()
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.