public static class BitFieldArgs.Builder extends Object
BitFieldArgs.| Modifier and Type | Method and Description |
|---|---|
static BitFieldArgs |
get(BitFieldArgs.BitFieldType bitFieldType,
BitFieldArgs.Offset offset)
Create a new
GET subcommand. |
static BitFieldArgs |
get(BitFieldArgs.BitFieldType bitFieldType,
int offset)
Create a new
GET subcommand. |
static BitFieldArgs |
incrBy(BitFieldArgs.BitFieldType bitFieldType,
BitFieldArgs.Offset offset,
long value)
Create a new
INCRBY subcommand. |
static BitFieldArgs |
incrBy(BitFieldArgs.BitFieldType bitFieldType,
int offset,
long value)
Create a new
INCRBY subcommand. |
static BitFieldArgs |
overflow(BitFieldArgs.OverflowType overflowType)
Adds a new
OVERFLOW subcommand. |
static BitFieldArgs |
set(BitFieldArgs.BitFieldType bitFieldType,
BitFieldArgs.Offset offset,
long value)
Create a new
SET subcommand. |
static BitFieldArgs |
set(BitFieldArgs.BitFieldType bitFieldType,
int offset,
long value)
Create a new
SET subcommand. |
public static BitFieldArgs get(BitFieldArgs.BitFieldType bitFieldType, int offset)
GET subcommand.bitFieldType - the bit field type, must not be null.offset - bitfield offsetGET subcommand for the given bitFieldType and offset.public static BitFieldArgs get(BitFieldArgs.BitFieldType bitFieldType, BitFieldArgs.Offset offset)
GET subcommand.bitFieldType - the bit field type, must not be null.offset - bitfield offset, must not be null.GET subcommand for the given bitFieldType and offset.public static BitFieldArgs set(BitFieldArgs.BitFieldType bitFieldType, int offset, long value)
SET subcommand.bitFieldType - the bit field type, must not be null.offset - bitfield offsetvalue - the valueSET subcommand for the given bitFieldType, offset and value.public static BitFieldArgs set(BitFieldArgs.BitFieldType bitFieldType, BitFieldArgs.Offset offset, long value)
SET subcommand.bitFieldType - the bit field type, must not be null.offset - bitfield offset, must not be null.value - the valueSET subcommand for the given bitFieldType, offset and value.public static BitFieldArgs incrBy(BitFieldArgs.BitFieldType bitFieldType, int offset, long value)
INCRBY subcommand.bitFieldType - the bit field type, must not be null.offset - bitfield offsetvalue - the valueINCRBY subcommand for the given bitFieldType, offset and value .public static BitFieldArgs incrBy(BitFieldArgs.BitFieldType bitFieldType, BitFieldArgs.Offset offset, long value)
INCRBY subcommand.bitFieldType - the bit field type, must not be null.offset - bitfield offset, must not be null.value - the valueINCRBY subcommand for the given bitFieldType, offset and value .public static BitFieldArgs overflow(BitFieldArgs.OverflowType overflowType)
OVERFLOW subcommand.overflowType - type of overflow, must not be null.OVERFLOW subcommand for the given overflowType.Copyright © 2020 lettuce.io. All rights reserved.