Class TableSet
- java.lang.Object
-
- org.hibernate.persister.entity.mutation.TableSet
-
public final class TableSet extends Object
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 aSet
. These table ids come fromTableMapping.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 Constructor Description TableSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(TableMapping tableMapping)
boolean
contains(TableMapping tableMapping)
boolean
isEmpty()
-
-
-
Method Detail
-
add
public void add(TableMapping tableMapping)
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(TableMapping tableMapping)
-
-