Spring Data Key-Value

org.springframework.data.keyvalue.riak.core
Class SimpleBucketKeyResolver

java.lang.Object
  extended by org.springframework.data.keyvalue.riak.core.SimpleBucketKeyResolver
All Implemented Interfaces:
BucketKeyResolver

public class SimpleBucketKeyResolver
extends Object
implements BucketKeyResolver

Author:
J. Brisbin

Field Summary
protected  Pattern bucketColonKey
           
 
Constructor Summary
SimpleBucketKeyResolver()
           
 
Method Summary
<V> boolean
canResolve(V o)
          Can this resolver deal with the given object?
<B,K,V> BucketKeyPair<B,K>
resolve(V o)
          Turn the given object into a BucketKeyPair.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bucketColonKey

protected Pattern bucketColonKey
Constructor Detail

SimpleBucketKeyResolver

public SimpleBucketKeyResolver()
Method Detail

canResolve

public <V> boolean canResolve(V o)
Description copied from interface: BucketKeyResolver
Can this resolver deal with the given object?

Specified by:
canResolve in interface BucketKeyResolver
Returns:

resolve

public <B,K,V> BucketKeyPair<B,K> resolve(V o)
Description copied from interface: BucketKeyResolver
Turn the given object into a BucketKeyPair.

Specified by:
resolve in interface BucketKeyResolver
Returns:

Spring Data Key-Value

Copyright © 2010-2011 SpringSource. All Rights Reserved.