com.basho.riak.client.raw
Class DeleteMeta
java.lang.Object
com.basho.riak.client.raw.DeleteMeta
public class DeleteMeta
- extends Object
The set of parameters for a delete operation
- Author:
- russell
Constructor Summary |
DeleteMeta(Integer r,
Integer pr,
Integer w,
Integer dw,
Integer pw,
Integer rw,
VClock vclock)
Any of the parameters may be null. |
DeleteMeta(Quorum r,
Quorum pr,
Quorum w,
Quorum dw,
Quorum pw,
Quorum rw,
VClock vclock)
Any of the parameters may be null. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteMeta
public DeleteMeta(Integer r,
Integer pr,
Integer w,
Integer dw,
Integer pw,
Integer rw,
VClock vclock)
- Any of the parameters may be null.
- Parameters:
r
- pr
- w
- dw
- pw
- rw
- vclock
-
DeleteMeta
public DeleteMeta(Quorum r,
Quorum pr,
Quorum w,
Quorum dw,
Quorum pw,
Quorum rw,
VClock vclock)
- Any of the parameters may be null.
- Parameters:
r
- pr
- w
- dw
- pw
- rw
- vclock
-
hasR
public boolean hasR()
- Returns:
- true is the r parameter is set, false otherwise.
getR
public Quorum getR()
- Returns:
- r parameter or null
hasPr
public boolean hasPr()
- Returns:
- true if the pr parameter is set, false otherwise
getPr
public Quorum getPr()
- Returns:
- the pr parameter, or null
hasW
public boolean hasW()
- Returns:
- true if the w parameter is set, false otherwise
getW
public Quorum getW()
- Returns:
- the w parameter or null
hasDw
public boolean hasDw()
- Returns:
- true if the dw parameter is set, false otherwise
getDw
public Quorum getDw()
- Returns:
- the dw parameter, or null
hasPw
public boolean hasPw()
- Returns:
- true is the pw parameter is set, false otherwise.
getPw
public Quorum getPw()
- Returns:
- pw parameter, or null
hasRw
public boolean hasRw()
- Returns:
- true if the rw parameter is set
getRw
public Quorum getRw()
- Returns:
- the rw, or null if not set.
hasVclock
public boolean hasVclock()
- Returns:
- true if this delete meta has a vclock
getVclock
public VClock getVclock()
- Returns:
- the vclock or null if not set
Copyright © 2012. All Rights Reserved.