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