Spring Data Key-Value

org.springframework.data.keyvalue.riak.core
Class SimpleBucketKeyPair<B,K>

java.lang.Object
  extended by org.springframework.data.keyvalue.riak.core.SimpleBucketKeyPair<B,K>
All Implemented Interfaces:
Comparable, BucketKeyPair

public class SimpleBucketKeyPair<B,K>
extends Object
implements BucketKeyPair, Comparable

Author:
J. Brisbin

Constructor Summary
SimpleBucketKeyPair(B bucket, K key)
           
 
Method Summary
 int compareTo(Object o)
           
 B getBucket()
          Get the bucket representation.
 K getKey()
          Get the key representation.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleBucketKeyPair

public SimpleBucketKeyPair(B bucket,
                           K key)
Method Detail

getBucket

public B getBucket()
Description copied from interface: BucketKeyPair
Get the bucket representation.

Specified by:
getBucket in interface BucketKeyPair
Returns:

getKey

public K getKey()
Description copied from interface: BucketKeyPair
Get the key representation.

Specified by:
getKey in interface BucketKeyPair
Returns:

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

toString

public String toString()
Overrides:
toString in class Object

Spring Data Key-Value

Copyright © 2010 SpringSource. All Rights Reserved.