Package org.hibernate.collection.spi
package org.hibernate.collection.spi
This package defines the SPI of a framework for lazy-initializing
and state-tracking collection wrappers.
The interface PersistentCollection
and all its implementations belong to an SPI. They are not part of the
public API of Hibernate, and are not meant to be used directly by typical
programs which use Hibernate for persistence.
- See Also:
-
ClassDescriptionBase class implementing
PersistentCollectionContract for operations which are part of a collection's operation queue.TBH not sure why this is publicAbstractSetSemantics<SE extends Set<E>, E>BagSemantics<BE extends Collection<E>, E>Identifies the reference state against which aCollectionDeltais expressed.One ordered semantic change within aCollectionDelta.An element newly present at its current position.A bulk clear whose individual persisted removals are not enumerated.An element retained while its semantic position changed.An element no longer present at its snapshot position.A value replaced while retaining its semantic row identity.Represents the complete set of changes between a collection's snapshot state and its current state.Represents an element that was added to the collection.Represents an element that was removed from the collection.Represents an element that changed position within the collection.Represents an element whose value changed at the same position.An immutable semantic description of collection changes relative to an identified reference state.Functional contract to create aCollectionInitializer.Runtime and mapping facts used to interpret a collection mutation.Outcome of interpreting a collection mutation.A frozen, queue-neutral interpretation of one semantic collection mutation.Interprets a logical transition using one collection's semantics and mapping facts.CollectionSemantics<CE,E> Each instance of this interface describes the semantics of some sort of persistent collection so that Hibernate understands how to manage the lifecycle of instances of that sort of collection.Resolve the collection semantics for the given mapped collection.A row identifier for an identifier-bag's collectio-id which is generated by collection pre-insert processing after the delta has been frozen.A list position calculated from persisted size plus a relative adjustment.Describes how completely aCollectionDeltacovers its reference state.Identifies the provenance of facts represented by aCollectionDelta.A validity-guarded projection of the current rows of a persistent collection.The most general abstraction over collections which may be fetched lazily.Extension ofCollectionSemanticsfor MapsShared deferred handle for the persisted size of one collection mutation.A dummy collection wrapper for an array.An unordered, un-keyed collection that can contain the same element multiple times.Persistent collections are treated as value objects by Hibernate.An "identifier bag" implements "bag" semantics more efficiently than a regular bag by adding a synthetic identifier column to the table.A persistent wrapper for aList.PersistentMap<K,E> A persistent wrapper for aMap.A persistent wrapper for aSet.PersistentSortedMap<K,E> A persistent wrapper for aSortedMap.A persistent wrapper for aSortedSet.The immutable physical realization selected for a semantic collection mutation.Insert every retained current row for a logical create.The semantic mutation owns no collection-table mutation.Remove all rows belonging to the loaded collection endpoint.Physically replace all rows while retaining update lifecycle semantics.Apply a semantics-specific immutable row-change set.Immutable view of one command in an uninitialized collection's operation queue.The semantic difference information retained by a collection mutation interpretation independently of its physical mutation strategy.Prior collection contents are removed without claiming that their rows are enumerable.An enumerable semantic difference relative to an identified baseline.No separate semantic difference was materialized.Marker interface for objects that carry both an element and its snapshot position/key.