Class StandardMapSemantics<K,V>
- java.lang.Object
-
- org.hibernate.collection.spi.AbstractMapSemantics<Map<K,V>,K,V>
-
- org.hibernate.collection.internal.StandardMapSemantics<K,V>
-
- All Implemented Interfaces:
CollectionSemantics<Map<K,V>,V>
,MapSemantics<Map<K,V>,K,V>
public class StandardMapSemantics<K,V> extends AbstractMapSemantics<Map<K,V>,K,V>
CollectionSemantics for maps
-
-
Field Summary
Fields Modifier and Type Field Description static StandardMapSemantics<?,?>
INSTANCE
Singleton access
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionClassification
getCollectionClassification()
The classification handled by this semanticMap<K,V>
instantiateRaw(int anticipatedSize, CollectionPersister collectionDescriptor)
Create a raw (unwrapped) version of the collectionPersistentCollection<V>
instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Create a wrapper for the collectionPersistentCollection<V>
wrap(Map<K,V> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Wrap a raw collection in wrapper-
Methods inherited from class org.hibernate.collection.spi.AbstractMapSemantics
createInitializerProducer, getCollectionJavaType, getElementIterator, getKeyIterator, visitElements, visitEntries, visitKeys
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.collection.spi.CollectionSemantics
createInitializerProducer
-
-
-
-
Field Detail
-
INSTANCE
public static final StandardMapSemantics<?,?> INSTANCE
Singleton access
-
-
Method Detail
-
getCollectionClassification
public CollectionClassification getCollectionClassification()
Description copied from interface:CollectionSemantics
The classification handled by this semantic
-
instantiateRaw
public Map<K,V> instantiateRaw(int anticipatedSize, CollectionPersister collectionDescriptor)
Description copied from interface:CollectionSemantics
Create a raw (unwrapped) version of the collection
-
instantiateWrapper
public PersistentCollection<V> instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Description copied from interface:CollectionSemantics
Create a wrapper for the collection
-
wrap
public PersistentCollection<V> wrap(Map<K,V> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Description copied from interface:CollectionSemantics
Wrap a raw collection in wrapper
-
-