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)
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 SpringSource. All Rights Reserved.