Class BITFIELD

java.lang.Object
org.infinispan.server.resp.RespCommand
org.infinispan.server.resp.commands.bitmap.BITFIELD
All Implemented Interfaces:
BaseResp3Command, Resp3Command
Direct Known Subclasses:
BITFIELD_RO

public class BITFIELD extends RespCommand implements Resp3Command
Executes the Redis BITFIELD command with its multiple subcommands. The BITFIELD command is a versatile tool for manipulating bitfields stored in Redis strings. It allows for setting, getting, and incrementing arbitrary-width signed and unsigned integers at any position within the string. This implementation supports the GET, SET, and INCRBY subcommands, along with the OVERFLOW option for fine-grained control over increment and set operations that exceed the specified integer size.
Since:
16.2
See Also:
  • Field Details

    • readOnly

      protected final boolean readOnly
  • Constructor Details

    • BITFIELD

      public BITFIELD()
    • BITFIELD

      protected BITFIELD(boolean readOnly, long mask)
  • Method Details