com.basho.riak.client.query
Class LinkWalkStep

java.lang.Object
  extended by com.basho.riak.client.query.LinkWalkStep

public class LinkWalkStep
extends Object

Used internally by LinkWalk to model a step in a link walk operation.

Author:
russell
See Also:
LinkWalk#addStep(String, String, Accumulate), LinkWalk.addStep(String, String), LinkWalk.addStep(String, String, boolean)

Nested Class Summary
static class LinkWalkStep.Accumulate
          Enum for the accumulate specification of a link walk step.
 
Constructor Summary
LinkWalkStep(String bucket, String tag)
          Create a step definition with default value for accumulate
LinkWalkStep(String bucket, String tag, boolean keep)
          Create a step definition.
LinkWalkStep(String bucket, String tag, LinkWalkStep.Accumulate keep)
          Create a step definition.
 
Method Summary
 String getBucket()
           
 LinkWalkStep.Accumulate getKeep()
           
 String getTag()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkWalkStep

public LinkWalkStep(String bucket,
                    String tag,
                    LinkWalkStep.Accumulate keep)
Create a step definition.

Parameters:
bucket - the bucket or null/"","_" for a wildcard (meaning *any*)
tag - the tag or null/"","_" for a wildcard (meaning *any*)
keep - yes, no, default?

LinkWalkStep

public LinkWalkStep(String bucket,
                    String tag,
                    boolean keep)
Create a step definition.

Parameters:
bucket - the bucket or null/"","_" for a wildcard (meaning *any*)
tag - the tag or null/"","_" for a wildcard (meaning *any*)
keep - true/false?

LinkWalkStep

public LinkWalkStep(String bucket,
                    String tag)
Create a step definition with default value for accumulate

Parameters:
bucket - the bucket or null/"","_" for a wildcard (meaning *any*)
tag - the tag or null/"","_" for a wildcard (meaning *any*)
Method Detail

getBucket

public String getBucket()
Returns:
the bucket

getTag

public String getTag()
Returns:
the tag

getKeep

public LinkWalkStep.Accumulate getKeep()
Returns:
the value for keep/accumulate


Copyright © 2012. All Rights Reserved.