public static class BitFieldArgs.Builder extends Object
| 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 © 2016. All rights reserved.