org.springframework.datastore.keyvalue.mapping
Class KeyValueMappingFactory
java.lang.Object
org.springframework.datastore.mapping.MappingFactory<Family,KeyValue>
org.springframework.datastore.keyvalue.mapping.KeyValueMappingFactory
- Direct Known Subclasses:
- GormKeyValueMappingFactory
public class KeyValueMappingFactory
- extends MappingFactory<Family,KeyValue>
- Since:
- 1.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keyspace
protected String keyspace
KeyValueMappingFactory
public KeyValueMappingFactory(String keyspace)
createMappedForm
public Family createMappedForm(PersistentEntity entity)
- Description copied from class:
MappingFactory
- Creates the mapped form of a persistent entity
- Specified by:
createMappedForm in class MappingFactory<Family,KeyValue>
- Parameters:
entity - The entity
- Returns:
- The mapped form
createMappedForm
public KeyValue createMappedForm(PersistentProperty mpp)
- Description copied from class:
MappingFactory
- Creates the mapped form of a PersistentProperty instance
- Specified by:
createMappedForm in class MappingFactory<Family,KeyValue>
- Parameters:
mpp - The PersistentProperty instance
- Returns:
- The mapped form