public class LinkWalkSpec extends Object implements Iterable<LinkWalkStep>
LinkWalk
operation, used internally.
There is no need to create an instance of this class. The LinkWalk
operation (obtained from
IRiakClient.walk(com.basho.riak.client.IRiakObject)
)is the correct
way to generate and submit a LinkWalk spec.
IRiakClient.walk(com.basho.riak.client.IRiakObject)
,
LinkWalk.execute()
Constructor and Description |
---|
LinkWalkSpec(LinkedList<LinkWalkStep> steps,
String startBucket,
String startKey)
Create the link walk spec.
|
Modifier and Type | Method and Description |
---|---|
String |
getStartBucket()
The bucket of the object to walk from.
|
String |
getStartKey()
The key of the object to walk from.
|
Iterator<LinkWalkStep> |
iterator() |
int |
size()
How many steps in this link walk spec?
|
public LinkWalkSpec(LinkedList<LinkWalkStep> steps, String startBucket, String startKey)
steps
- startBucket
- startKey
- LinkWalk.execute()
,
IRiakClient.walk(com.basho.riak.client.IRiakObject)
public String getStartBucket()
public String getStartKey()
public Iterator<LinkWalkStep> iterator()
iterator
in interface Iterable<LinkWalkStep>
public int size()
Copyright © 2014. All Rights Reserved.