public static class BitFieldSubCommands.BitFieldIncrBy extends BitFieldSubCommands.AbstractBitFieldSubCommand
INCRBY sub command used with BitFieldSubCommands.| Modifier and Type | Class and Description |
|---|---|
static class |
BitFieldSubCommands.BitFieldIncrBy.Overflow |
| Constructor and Description |
|---|
BitFieldIncrBy() |
| Modifier and Type | Method and Description |
|---|---|
static BitFieldSubCommands.BitFieldIncrBy |
create(BitFieldSubCommands.BitFieldType type,
BitFieldSubCommands.Offset offset,
long value)
Creates a new
BitFieldSubCommands.BitFieldIncrBy. |
static BitFieldSubCommands.BitFieldIncrBy |
create(BitFieldSubCommands.BitFieldType type,
BitFieldSubCommands.Offset offset,
long value,
BitFieldSubCommands.BitFieldIncrBy.Overflow overflow)
Creates a new
BitFieldSubCommands.BitFieldIncrBy. |
boolean |
equals(Object o) |
String |
getCommand()
The actual sub command
|
BitFieldSubCommands.BitFieldIncrBy.Overflow |
getOverflow()
Get the overflow to apply.
|
long |
getValue()
Get the increment value.
|
int |
hashCode() |
String |
toString() |
getOffset, getTypepublic static BitFieldSubCommands.BitFieldIncrBy create(BitFieldSubCommands.BitFieldType type, BitFieldSubCommands.Offset offset, long value)
BitFieldSubCommands.BitFieldIncrBy.type - must not be null.offset - must not be null.value - must not be null.public static BitFieldSubCommands.BitFieldIncrBy create(BitFieldSubCommands.BitFieldType type, BitFieldSubCommands.Offset offset, long value, @Nullable BitFieldSubCommands.BitFieldIncrBy.Overflow overflow)
BitFieldSubCommands.BitFieldIncrBy.type - must not be null.offset - must not be null.value - must not be null.overflow - can be null to use redis defaults.public String getCommand()
BitFieldSubCommands.BitFieldSubCommandpublic long getValue()
@Nullable public BitFieldSubCommands.BitFieldIncrBy.Overflow getOverflow()
public boolean equals(@Nullable Object o)
equals in class BitFieldSubCommands.AbstractBitFieldSubCommandpublic int hashCode()
hashCode in class BitFieldSubCommands.AbstractBitFieldSubCommandpublic String toString()
toString in class BitFieldSubCommands.AbstractBitFieldSubCommandCopyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.