Package org.h2.mvstore.tx
Class Record<K,V>
- java.lang.Object
-
- org.h2.mvstore.tx.Record<K,V>
-
final class Record<K,V> extends java.lang.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 class
Record.Type<K,V>
A data type for undo log values
-
Field Summary
Fields Modifier and Type Field Description (package private) static Record<?,?>
COMMIT_MARKER
(package private) K
key
Key of the changed map entry key(package private) int
mapId
Map id for this change is related to(package private) VersionedValue<V>
oldValue
Value of the entry before change.
-
Constructor Summary
Constructors Constructor Description Record(int mapId, K key, VersionedValue<V> oldValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
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 Detail
-
Record
Record(int mapId, K key, VersionedValue<V> oldValue)
-
-