Class BitFieldSubCommands
java.lang.Object
org.springframework.data.redis.connection.BitFieldSubCommands
- All Implemented Interfaces:
Iterable<BitFieldSubCommands.BitFieldSubCommand>
public class BitFieldSubCommands
extends Object
implements Iterable<BitFieldSubCommands.BitFieldSubCommand>
The actual
BITFIELD command representation holding several BitFieldSubCommands.BitFieldSubCommands to execute.- Since:
- 2.1
- Author:
- Christoph Strobl, Qiang Lee, Yanam
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classTheGETsub command used withBitFieldSubCommands.static classstatic classTheINCRBYsub command used withBitFieldSubCommands.classstatic classTheSETsub command used withBitFieldSubCommands.static classstatic interfaceSub command to be used as part ofBitFieldSubCommands.static classThe actual Redis bitfield type representation for signed and unsigned integers used withBitFieldSubCommands.BitFieldSubCommand.static classOffset used inside aBitFieldSubCommands.BitFieldSubCommand. -
Method Summary
Modifier and TypeMethodDescriptionstatic BitFieldSubCommandscreate()Creates a newBitFieldSubCommands.static BitFieldSubCommandscreate(BitFieldSubCommands.BitFieldSubCommand... subCommands) Creates a newBitFieldSubCommandswith Multiple BitFieldSubCommand.booleanprotected BitFieldSubCommandsCreate newBitFieldSubCommandsadding givenBitFieldSubCommands.BitFieldGetto the sub commands.Obtain a newBitFieldSubCommands.BitFieldGetBuilderfor creating and adding aBitFieldSubCommands.BitFieldGetsub command.Get theListof sub commands.inthashCode()protected BitFieldSubCommandsCreate newBitFieldSubCommandsadding givenBitFieldSubCommands.BitFieldIncrByto the sub commands.Obtain a newBitFieldSubCommands.BitFieldIncrByBuilderfor creating and adding aBitFieldSubCommands.BitFieldIncrBysub command.iterator()protected BitFieldSubCommandsCreate newBitFieldSubCommandsadding givenBitFieldSubCommands.BitFieldSetto the sub commands.Obtain a newBitFieldSubCommands.BitFieldSetBuilderfor creating and adding aBitFieldSubCommands.BitFieldSetsub command.toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
create
Creates a newBitFieldSubCommands.- Returns:
-
create
Creates a newBitFieldSubCommandswith Multiple BitFieldSubCommand.- Returns:
- Since:
- 2.5.2
-
get
Obtain a newBitFieldSubCommands.BitFieldGetBuilderfor creating and adding aBitFieldSubCommands.BitFieldGetsub command.- Parameters:
type- must not be null.- Returns:
-
get
Create newBitFieldSubCommandsadding givenBitFieldSubCommands.BitFieldGetto the sub commands.- Parameters:
get- must not be null.- Returns:
-
set
Obtain a newBitFieldSubCommands.BitFieldSetBuilderfor creating and adding aBitFieldSubCommands.BitFieldSetsub command.- Parameters:
type- must not be null.- Returns:
-
set
Create newBitFieldSubCommandsadding givenBitFieldSubCommands.BitFieldSetto the sub commands.- Parameters:
set- must not be null.- Returns:
-
incr
Obtain a newBitFieldSubCommands.BitFieldIncrByBuilderfor creating and adding aBitFieldSubCommands.BitFieldIncrBysub command.- Parameters:
type- must not be null.- Returns:
-
incr
Create newBitFieldSubCommandsadding givenBitFieldSubCommands.BitFieldIncrByto the sub commands.- Parameters:
incrBy- must not be null.- Returns:
-
getSubCommands
Get theListof sub commands.- Returns:
- never null.
-
iterator
- Specified by:
iteratorin interfaceIterable<BitFieldSubCommands.BitFieldSubCommand>
-
equals
-
hashCode
public int hashCode() -
toString
-