|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.basho.riak.client.query.LinkWalk
public class LinkWalk
A Link Walk operation, build the operation by adding steps, then execute.
IRiakClient.walk(IRiakObject)| Constructor Summary | |
|---|---|
LinkWalk(RawClient client,
IRiakObject startObject)
Create a Link Walk operation that will be executed with client, starting from startObject |
|
| Method Summary | |
|---|---|
LinkWalk |
addStep(String bucket,
String tag)
Add a link walking step to this link walk using the default accumulate value for the step (NO for all steps accept last step) |
LinkWalk |
addStep(String bucket,
String tag,
boolean keep)
Add a link walking step to this link walk |
LinkWalk |
addStep(String bucket,
String tag,
LinkWalkStep.Accumulate accumulate)
Add a link walking step to this link walk |
WalkResult |
execute()
Run the Link Walk query on the RawClient the operation was constructed with. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinkWalk(RawClient client,
IRiakObject startObject)
client, starting from startObject
client - the RawClient to usestartObject - the IRiakObject to start from| Method Detail |
|---|
public WalkResult execute()
throws RiakException
RawClient the operation was constructed with.
execute in interface RiakOperation<WalkResult>WalkResult
RiakException
public LinkWalk addStep(String bucket,
String tag,
LinkWalkStep.Accumulate accumulate)
bucket - the bucket, a null, or empty string is treated as the wildcardtag - the tag of the link, a null or empty string is treated as the
wildcardaccumulate - to keep the result of this step or not
public LinkWalk addStep(String bucket,
String tag,
boolean keep)
bucket - the bucket, a null, or empty string is treated as the wildcard _tag - the tag of the link, a null or empty string is treated as the
wildcardaccumulate - to keep the result of this step or not
public LinkWalk addStep(String bucket,
String tag)
bucket - the bucket, a null, or empty string is treated as the wildcard _tag - the tag of the link, a null or empty string is treated as the
wildcard
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||