Spring Data Key-Value

org.springframework.data.keyvalue.riak.convert
Annotation Type KeyValueStoreMetaData


@Retention(value=RUNTIME)
public @interface KeyValueStoreMetaData

Specify the bucket in which to store the annotated object, overriding the default classname method of deriving bucket name.

Author:
J. Brisbin

Required Element Summary
 String bucket
          The bucket in which to store an instance of this object.
 
Optional Element Summary
 String mediaType
          The media type in which to covert and store this object.
 

Element Detail

bucket

public abstract String bucket
The bucket in which to store an instance of this object.

Returns:

mediaType

public abstract String mediaType
The media type in which to covert and store this object.

Returns:
Default:
"application/json"

Spring Data Key-Value

Copyright © 2010-2011 SpringSource. All Rights Reserved.