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 SummaryNested 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 SummaryModifier 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.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Method Details- 
createCreates a newBitFieldSubCommands.- Returns:
 
- 
createCreates a newBitFieldSubCommandswith Multiple BitFieldSubCommand.- Returns:
- Since:
- 2.5.2
 
- 
getObtain a newBitFieldSubCommands.BitFieldGetBuilderfor creating and adding aBitFieldSubCommands.BitFieldGetsub command.- Parameters:
- type- must not be null.
- Returns:
 
- 
getCreate newBitFieldSubCommandsadding givenBitFieldSubCommands.BitFieldGetto the sub commands.- Parameters:
- get- must not be null.
- Returns:
 
- 
setObtain a newBitFieldSubCommands.BitFieldSetBuilderfor creating and adding aBitFieldSubCommands.BitFieldSetsub command.- Parameters:
- type- must not be null.
- Returns:
 
- 
setCreate newBitFieldSubCommandsadding givenBitFieldSubCommands.BitFieldSetto the sub commands.- Parameters:
- set- must not be null.
- Returns:
 
- 
incrObtain a newBitFieldSubCommands.BitFieldIncrByBuilderfor creating and adding aBitFieldSubCommands.BitFieldIncrBysub command.- Parameters:
- type- must not be null.
- Returns:
 
- 
incrCreate newBitFieldSubCommandsadding givenBitFieldSubCommands.BitFieldIncrByto the sub commands.- Parameters:
- incrBy- must not be null.
- Returns:
 
- 
getSubCommandsGet theListof sub commands.- Returns:
- never null.
 
- 
iterator- Specified by:
- iteratorin interface- Iterable<BitFieldSubCommands.BitFieldSubCommand>
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-