com.basho.riak.client.raw
Class DeleteMeta

java.lang.Object
  extended by com.basho.riak.client.raw.DeleteMeta

public class DeleteMeta
extends Object

The set of parameters for a delete operation

Author:
russell

Nested Class Summary
static class DeleteMeta.Builder
           
 
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.
 
Method Summary
 Quorum getDw()
           
 Quorum getPr()
           
 Quorum getPw()
           
 Quorum getR()
           
 Quorum getRw()
           
 VClock getVclock()
           
 Quorum getW()
           
 boolean hasDw()
           
 boolean hasPr()
           
 boolean hasPw()
           
 boolean hasR()
           
 boolean hasRw()
           
 boolean hasVclock()
           
 boolean hasW()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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.