Class BitFieldSubCommands.Offset
java.lang.Object
org.springframework.data.redis.connection.BitFieldSubCommands.Offset
- Enclosing class:
- BitFieldSubCommands
Offset used inside a 
BitFieldSubCommands.BitFieldSubCommand. Can be zero or type based. See
 Bits and positional offsets in the
 Redis reference.- Since:
- 2.1
- Author:
- Christoph Strobl, Mark Paluch
- 
Method Details- 
offsetCreates new zero based offset.
 NOTE: change to type based offset by callingmultipliedByTypeLength().- Parameters:
- offset- must not be null.
- Returns:
 
- 
multipliedByTypeLengthCreates new type based offset.- Returns:
 
- 
isZeroBasedpublic boolean isZeroBased()- Returns:
- true if offset starts at 0 and is not multiplied by the type length.
 
- 
getValuepublic long getValue()- Returns:
- the actual offset value
 
- 
asString- Returns:
- the Redis Command representation
 
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
 
-