Class Record<K,V>

java.lang.Object
org.h2.mvstore.tx.Record<K,V>

final class Record<K,V> extends Object
Class Record is a value for undoLog. It contains information about a single change of some map.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    (package private) static final class 
    A data type for undo log values
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static final Record<?,?>
     
    (package private) final K
    Key of the changed map entry key
    (package private) final int
    Map id for this change is related to
    (package private) final VersionedValue<V>
    Value of the entry before change.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Record(int mapId, K key, VersionedValue<V> oldValue)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • COMMIT_MARKER

      static final Record<?,?> COMMIT_MARKER
    • mapId

      final int mapId
      Map id for this change is related to
    • key

      final K key
      Key of the changed map entry key
    • oldValue

      final VersionedValue<V> oldValue
      Value of the entry before change. It is null if entry did not exist before the change (addition).
  • Constructor Details

  • Method Details