public static final class StoreValue.Option<T> extends RiakOption<T>
These options can be supplied to the StoreValue.Builder
to change
how Riak performs the operation. These override the defaults provided
by the bucket.
Modifier and Type | Field and Description |
---|---|
static StoreValue.Option<Boolean> |
ASIS |
static StoreValue.Option<Quorum> |
DW
Durable Write Quorum.
|
static StoreValue.Option<Boolean> |
IF_NONE_MATCH
If None Match.
|
static StoreValue.Option<Boolean> |
IF_NOT_MODIFIED
If Not Modified.
|
static StoreValue.Option<Integer> |
N_VAL |
static StoreValue.Option<Quorum> |
PW
Primary Write Quorum.
|
static StoreValue.Option<Boolean> |
RETURN_BODY
Return Body.
|
static StoreValue.Option<Boolean> |
RETURN_HEAD
Return Head.
|
static StoreValue.Option<Boolean> |
SLOPPY_QUORUM |
static StoreValue.Option<Integer> |
TIMEOUT
Timeout.
|
static StoreValue.Option<Quorum> |
W
Write Quorum.
|
public static final StoreValue.Option<Quorum> W
public static final StoreValue.Option<Quorum> DW
public static final StoreValue.Option<Quorum> PW
public static final StoreValue.Option<Boolean> IF_NOT_MODIFIED
public static final StoreValue.Option<Boolean> IF_NONE_MATCH
public static final StoreValue.Option<Boolean> RETURN_BODY
public static final StoreValue.Option<Boolean> RETURN_HEAD
StoreValue.Option.RETURN_BODY
except that the value(s) in the object are blank to
avoid returning potentially large value(s).public static final StoreValue.Option<Integer> TIMEOUT
public static final StoreValue.Option<Boolean> ASIS
public static final StoreValue.Option<Boolean> SLOPPY_QUORUM
public static final StoreValue.Option<Integer> N_VAL
Copyright © 2014. All rights reserved.