Class 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 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 Detail

      • TableSet

        public TableSet()
    • Method Detail

      • isEmpty

        public boolean isEmpty()
      • contains

        public boolean contains​(TableMapping tableMapping)