class SimpleMapEntityPersister extends AbstractKeyValueEntityPersister<java.util.Map, java.lang.Object>
A simple implementation of the EntityPersister abstract class that backs onto an in-memory map. Mainly used for mocking and testing scenarios
Modifiers | Name | Description |
---|---|---|
class |
SimpleMapEntityPersister.1 |
|
class |
SimpleMapEntityPersister.2 |
Constructor and description |
---|
SimpleMapEntityPersister
(MappingContext context, PersistentEntity entity, Session session, SimpleMapDatastore datastore, org.springframework.context.ApplicationEventPublisher publisher) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.util.Map |
createNewEntry(java.lang.String family) |
|
Query |
createQuery() |
|
protected void |
deleteEntries(java.lang.String family, java.util.List<java.lang.Object> keys) |
|
protected void |
deleteEntry(java.lang.String family, java.lang.Object key, java.lang.Object entry) |
|
protected PersistentEntity |
discriminatePersistentEntity(PersistentEntity persistentEntity, java.util.Map nativeEntry) |
|
protected java.lang.Object |
generateIdentifier(PersistentEntity persistentEntity, java.util.Map id) |
|
AssociationIndexer |
getAssociationIndexer(java.util.Map nativeEntry, Association association) |
|
protected java.util.Map |
getEmbedded(java.util.Map nativeEntry, java.lang.String key) |
|
protected java.lang.Object |
getEntryValue(java.util.Map nativeEntry, java.lang.String property) |
|
protected java.util.Collection |
getManyToManyKeys(PersistentEntity persistentEntity, java.lang.Object obj, java.io.Serializable nativeKey, java.util.Map nativeEntry, ManyToMany manyToMany) |
|
PropertyValueIndexer |
getPropertyIndexer(PersistentProperty property) |
|
protected java.lang.Object |
indexIdentifier(PersistentEntity persistentEntity, java.lang.Object storeId) |
|
protected boolean |
isPropertyIndexed(Property mappedProperty) |
|
protected java.util.Map |
retrieveEntry(PersistentEntity persistentEntity, java.lang.String family, java.io.Serializable key) |
|
protected void |
setEmbedded(java.util.Map nativeEntry, java.lang.String key, java.util.Map values) |
|
protected void |
setEntryValue(java.util.Map nativeEntry, java.lang.String key, java.lang.Object value) |
|
protected void |
setManyToMany(PersistentEntity persistentEntity, java.lang.Object obj, java.util.Map nativeEntry, ManyToMany manyToMany, java.util.Collection associatedObjects, java.util.Map<Association, java.util.List<java.io.Serializable>> toManyKeys) |
|
protected java.lang.Object |
storeEntry(PersistentEntity persistentEntity, EntityAccess entityAccess, java.lang.Object storeId, java.util.Map nativeEntry) |
|
protected void |
updateEntry(PersistentEntity persistentEntity, EntityAccess entityAccess, java.lang.Object key, java.util.Map entry) |
|
private java.lang.Object |
updateInheritanceHierarchy(PersistentEntity persistentEntity, java.lang.Object storeId, java.util.Map nativeEntry) |
Groovy Documentation