|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.basho.riak.client.raw.query.LinkWalkSpec
public class LinkWalkSpec
An immutable class that represents a link walk specification, built by a
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 Summary | |
---|---|
LinkWalkSpec(LinkedList<LinkWalkStep> steps,
String startBucket,
String startKey)
Create the link walk spec. |
Method Summary | |
---|---|
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? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinkWalkSpec(LinkedList<LinkWalkStep> steps, String startBucket, String startKey)
steps
- startBucket
- startKey
- LinkWalk.execute()
,
IRiakClient.walk(com.basho.riak.client.IRiakObject)
Method Detail |
---|
public String getStartBucket()
public String getStartKey()
public Iterator<LinkWalkStep> iterator()
iterator
in interface Iterable<LinkWalkStep>
public int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |