org.springframework.data.keyvalue.riak.core
Class RiakMetaData
java.lang.Object
org.springframework.data.keyvalue.riak.core.RiakMetaData
- All Implemented Interfaces:
- KeyValueStoreMetaData
public class RiakMetaData
- extends Object
- implements KeyValueStoreMetaData
An implementation of KeyValueStoreMetaData
for Riak.
- Author:
- J. Brisbin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RiakMetaData
public RiakMetaData(Map<String,Object> properties)
RiakMetaData
public RiakMetaData(MediaType mediaType,
Map<String,Object> properties)
RiakMetaData
public RiakMetaData(MediaType mediaType,
Map<String,Object> properties,
String bucket,
String key)
setBucket
public void setBucket(String bucket)
setKey
public void setKey(String key)
getBucket
public String getBucket()
- Specified by:
getBucket
in interface KeyValueStoreMetaData
getKey
public String getKey()
- Specified by:
getKey
in interface KeyValueStoreMetaData
getContentType
public MediaType getContentType()
- Description copied from interface:
KeyValueStoreMetaData
- Get the Content-Type of this object.
- Specified by:
getContentType
in interface KeyValueStoreMetaData
- Returns:
getLastModified
public long getLastModified()
- Specified by:
getLastModified
in interface KeyValueStoreMetaData
getProperties
public Map<String,Object> getProperties()
- Description copied from interface:
KeyValueStoreMetaData
- Get the arbitrary properties for this object.
- Specified by:
getProperties
in interface KeyValueStoreMetaData
- Returns:
Copyright © 2010-2011 SpringSource. All Rights Reserved.