|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.basho.riak.client.RiakLink
public class RiakLink
Models a link from one object to another in Riak.
Links are unidirectional and enable lightweight graph semantics in Riak. See the basho wiki for more details on links.
Immutable.
Constructor Summary | |
---|---|
RiakLink(RiakLink riakLink)
Create a RiakLink that is a copy of another RiakLink. |
|
RiakLink(String bucket,
String key,
String tag)
Create a RiakLink from the specified parameters. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getBucket()
|
String |
getKey()
|
String |
getTag()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RiakLink(String bucket, String key, String tag)
bucket
- the bucketkey
- the keytag
- the link tagpublic RiakLink(RiakLink riakLink)
riakLink
- the RiakLink to copyMethod Detail |
---|
public String getBucket()
public String getKey()
public String getTag()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |