org.springframework.data.keyvalue.riak.core
Class SimpleBucketKeyResolver
java.lang.Object
org.springframework.data.keyvalue.riak.core.SimpleBucketKeyResolver
- All Implemented Interfaces:
- BucketKeyResolver
public class SimpleBucketKeyResolver
- extends Object
- implements BucketKeyResolver
- Author:
- J. Brisbin
Method Summary |
|
canResolve(V o)
Can this resolver deal with the given object? |
|
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 |
bucketColonKey
protected Pattern bucketColonKey
SimpleBucketKeyResolver
public SimpleBucketKeyResolver()
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:
Copyright © 2010-2011 SpringSource. All Rights Reserved.