Class Record.Type<K,V>
- All Implemented Interfaces:
Comparator<Record<K,V>>, DataType<Record<K, V>>
A data type for undo log values
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintCompare two keys.createStorage(int size) Create storage object of array type to hold valuesintCalculates the amount of used memory in bytes.read(ByteBuffer buff) Read an object.voidwrite(WriteBuffer buff, Record<K, V> record) Write an object.Methods inherited from class BasicDataType
binarySearch, cast, equals, hashCode, isMemoryEstimationAllowed, read, writeMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
transactionStore
-
-
Constructor Details
-
Type
Type(TransactionStore transactionStore)
-
-
Method Details
-
getMemory
-
compare
Description copied from interface:DataTypeCompare two keys. -
write
-
read
-
createStorage
-