Class PersistedCollectionSize
java.lang.Object
org.hibernate.collection.spi.PersistedCollectionSize
@Incubating(since="8.0",
group="collection-delta")
public final class PersistedCollectionSize
extends Object
Shared deferred handle for the persisted size of one collection mutation.
A specialized list producer may reference one handle from multiple append positions. Planning or execution resolves the handle at most once.
- Since:
- 8.0
-
Constructor Details
-
PersistedCollectionSize
public PersistedCollectionSize()
-
-
Method Details
-
resolve
public void resolve(int size) Resolve the persisted size. -
isResolved
public boolean isResolved()Whether this handle has been resolved. -
get
public int get()Obtain the resolved persisted size. -
toString
-