Class TableSet
java.lang.Object
org.hibernate.persister.entity.mutation.TableSet
Represents a Set of TableMapping(s); table mappings are
identified by an ordered unique id: the order in which
they are updated within the scope of a particular persister.
This makes it possible to store a set of them as a bitset,
which is typically more efficient than using a
Set
.
These table ids come from TableMapping.getRelativePosition()
.
N.B. Make sure to not store TableMappings from different persisters, as their unique identifiers will overlap: we'll only verify a mismatch if assertions are enabled.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(TableMapping tableMapping) boolean
contains
(TableMapping tableMapping) boolean
isEmpty()
-
Constructor Details
-
TableSet
public TableSet()
-
-
Method Details
-
add
-
isEmpty
public boolean isEmpty() -
contains
-