public class LettuceReactiveStringCommands extends Object implements ReactiveStringCommands
ReactiveStringCommands.AppendCommand, ReactiveStringCommands.BitCountCommand, ReactiveStringCommands.BitOpCommand, ReactiveStringCommands.GetBitCommand, ReactiveStringCommands.MSetCommand, ReactiveStringCommands.SetBitCommand, ReactiveStringCommands.SetCommand, ReactiveStringCommands.SetRangeCommand| Constructor and Description |
|---|
LettuceReactiveStringCommands(LettuceReactiveRedisConnection connection)
Create new
LettuceReactiveStringCommands. |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveStringCommands.AppendCommand,Long>> |
append(org.reactivestreams.Publisher<ReactiveStringCommands.AppendCommand> commands)
|
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveStringCommands.BitCountCommand,Long>> |
bitCount(org.reactivestreams.Publisher<ReactiveStringCommands.BitCountCommand> commands)
Count the number of set bits (population counting) of value stored at key between begin and
end.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveStringCommands.BitOpCommand,Long>> |
bitOp(org.reactivestreams.Publisher<ReactiveStringCommands.BitOpCommand> commands)
Perform bitwise operations between strings.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.ByteBufferResponse<ReactiveRedisConnection.KeyCommand>> |
get(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyCommand> commands)
Get elements one by one.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveStringCommands.GetBitCommand>> |
getBit(org.reactivestreams.Publisher<ReactiveStringCommands.GetBitCommand> commands)
Get the bit value at offset of value at key.
|
protected LettuceReactiveRedisConnection |
getConnection() |
reactor.core.publisher.Flux<ReactiveRedisConnection.ByteBufferResponse<ReactiveRedisConnection.RangeCommand>> |
getRange(org.reactivestreams.Publisher<ReactiveRedisConnection.RangeCommand> commands)
Get a substring of value of key between begin and end.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.ByteBufferResponse<ReactiveStringCommands.SetCommand>> |
getSet(org.reactivestreams.Publisher<ReactiveStringCommands.SetCommand> commands)
Set value for key and return the existing value one by one.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.MultiValueResponse<List<ByteBuffer>,ByteBuffer>> |
mGet(org.reactivestreams.Publisher<List<ByteBuffer>> keyCollections)
Get multiple values at for keysets in batches.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveStringCommands.MSetCommand>> |
mSet(org.reactivestreams.Publisher<ReactiveStringCommands.MSetCommand> commands)
Set multiple keys to multiple values using key-value pairs provided in commands.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveStringCommands.MSetCommand>> |
mSetNX(org.reactivestreams.Publisher<ReactiveStringCommands.MSetCommand> commands)
Set multiple keys to multiple values using key-value pairs provided in tuples only if the provided key
does not exist.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveStringCommands.SetCommand>> |
pSetEX(org.reactivestreams.Publisher<ReactiveStringCommands.SetCommand> commands)
Set key value pairs and
Expiration. |
reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveStringCommands.SetCommand>> |
set(org.reactivestreams.Publisher<ReactiveStringCommands.SetCommand> commands)
Set each and every item separately by invoking
ReactiveStringCommands.SetCommand. |
reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveStringCommands.SetBitCommand>> |
setBit(org.reactivestreams.Publisher<ReactiveStringCommands.SetBitCommand> commands)
Sets the bit at offset in value stored at key and return the original value.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveStringCommands.SetCommand>> |
setEX(org.reactivestreams.Publisher<ReactiveStringCommands.SetCommand> commands)
Set key value pairs and
Expiration. |
reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveStringCommands.SetCommand>> |
setNX(org.reactivestreams.Publisher<ReactiveStringCommands.SetCommand> commands)
Set key value pairs, only if key does not exist.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveStringCommands.SetRangeCommand,Long>> |
setRange(org.reactivestreams.Publisher<ReactiveStringCommands.SetRangeCommand> commands)
Overwrite parts of
ReactiveRedisConnection.KeyCommand.key starting at the specified offset with given
ReactiveStringCommands.SetRangeCommand.value. |
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveRedisConnection.KeyCommand,Long>> |
strLen(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyCommand> commands)
Get the length of the value stored at key.
|
public LettuceReactiveStringCommands(LettuceReactiveRedisConnection connection)
LettuceReactiveStringCommands.connection - must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.MultiValueResponse<List<ByteBuffer>,ByteBuffer>> mGet(org.reactivestreams.Publisher<List<ByteBuffer>> keyCollections)
ReactiveStringCommandsmGet in interface ReactiveStringCommandskeyCollections - must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveStringCommands.SetCommand>> set(org.reactivestreams.Publisher<ReactiveStringCommands.SetCommand> commands)
ReactiveStringCommandsReactiveStringCommands.SetCommand.set in interface ReactiveStringCommandscommands - must not be null.Flux of ReactiveRedisConnection.BooleanResponse holding the ReactiveStringCommands.SetCommand along with the command result.public reactor.core.publisher.Flux<ReactiveRedisConnection.ByteBufferResponse<ReactiveStringCommands.SetCommand>> getSet(org.reactivestreams.Publisher<ReactiveStringCommands.SetCommand> commands)
ReactiveStringCommandsgetSet in interface ReactiveStringCommandscommands - must not be null.Flux of ReactiveRedisConnection.ByteBufferResponse holding the ReactiveStringCommands.SetCommand along with the previously
existing value.public reactor.core.publisher.Flux<ReactiveRedisConnection.ByteBufferResponse<ReactiveRedisConnection.KeyCommand>> get(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyCommand> commands)
ReactiveStringCommandsget in interface ReactiveStringCommandscommands - must not be null.Flux of ReactiveRedisConnection.ByteBufferResponse holding the key to get along with the value
retrieved.public reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveStringCommands.SetCommand>> setNX(org.reactivestreams.Publisher<ReactiveStringCommands.SetCommand> commands)
ReactiveStringCommandssetNX in interface ReactiveStringCommandscommands - must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveStringCommands.SetCommand>> setEX(org.reactivestreams.Publisher<ReactiveStringCommands.SetCommand> commands)
ReactiveStringCommandsExpiration.setEX in interface ReactiveStringCommandscommands - must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveStringCommands.SetCommand>> pSetEX(org.reactivestreams.Publisher<ReactiveStringCommands.SetCommand> commands)
ReactiveStringCommandsExpiration.pSetEX in interface ReactiveStringCommandscommands - must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveStringCommands.MSetCommand>> mSet(org.reactivestreams.Publisher<ReactiveStringCommands.MSetCommand> commands)
ReactiveStringCommandsmSet in interface ReactiveStringCommandscommands - must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveStringCommands.MSetCommand>> mSetNX(org.reactivestreams.Publisher<ReactiveStringCommands.MSetCommand> commands)
ReactiveStringCommandsmSetNX in interface ReactiveStringCommandscommands - must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveStringCommands.AppendCommand,Long>> append(org.reactivestreams.Publisher<ReactiveStringCommands.AppendCommand> commands)
ReactiveStringCommandsReactiveStringCommands.AppendCommand.getValue() to the ReactiveRedisConnection.KeyCommand.getKey().append in interface ReactiveStringCommandscommands - must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.ByteBufferResponse<ReactiveRedisConnection.RangeCommand>> getRange(org.reactivestreams.Publisher<ReactiveRedisConnection.RangeCommand> commands)
ReactiveStringCommandsgetRange in interface ReactiveStringCommandscommands - must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveStringCommands.SetRangeCommand,Long>> setRange(org.reactivestreams.Publisher<ReactiveStringCommands.SetRangeCommand> commands)
ReactiveStringCommandsReactiveRedisConnection.KeyCommand.key starting at the specified offset with given
ReactiveStringCommands.SetRangeCommand.value.setRange in interface ReactiveStringCommandscommands - must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveStringCommands.GetBitCommand>> getBit(org.reactivestreams.Publisher<ReactiveStringCommands.GetBitCommand> commands)
ReactiveStringCommandsgetBit in interface ReactiveStringCommandscommands - must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.BooleanResponse<ReactiveStringCommands.SetBitCommand>> setBit(org.reactivestreams.Publisher<ReactiveStringCommands.SetBitCommand> commands)
ReactiveStringCommandssetBit in interface ReactiveStringCommandscommands - must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveStringCommands.BitCountCommand,Long>> bitCount(org.reactivestreams.Publisher<ReactiveStringCommands.BitCountCommand> commands)
ReactiveStringCommandsbitCount in interface ReactiveStringCommandscommands - must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveStringCommands.BitOpCommand,Long>> bitOp(org.reactivestreams.Publisher<ReactiveStringCommands.BitOpCommand> commands)
ReactiveStringCommandsbitOp in interface ReactiveStringCommandscommands - must not be null.public reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveRedisConnection.KeyCommand,Long>> strLen(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyCommand> commands)
ReactiveStringCommandsstrLen in interface ReactiveStringCommandscommands - must not be null.protected LettuceReactiveRedisConnection getConnection()
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.