Spring Data Key-Value

org.springframework.data.keyvalue.riak.core
Interface BucketKeyResolver

All Known Implementing Classes:
SimpleBucketKeyResolver

public interface BucketKeyResolver

A generic interface to a resolver to turn a single object into a BucketKeyPair.

Author:
J. Brisbin <[email protected]>

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.
 

Method Detail

canResolve

<V> boolean canResolve(V o)
Can this resolver deal with the given object?

Type Parameters:
V -
Parameters:
o -
Returns:

resolve

<B,K,V> BucketKeyPair<B,K> resolve(V o)
Turn the given object into a BucketKeyPair.

Parameters:
o -
Returns:

Spring Data Key-Value

Copyright © 2010-2011 SpringSource. All Rights Reserved.