Package org.h2.value
Class VersionedValue<T>
- java.lang.Object
-
- org.h2.value.VersionedValue<T>
-
- Direct Known Subclasses:
Value
,VersionedValueCommitted
public class VersionedValue<T> extends java.lang.Object
A versioned value (possibly null). It contains current value and latest committed value if current one is uncommitted. Also for uncommitted values it contains operationId - a combination of transactionId and logId.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
VersionedValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getCommittedValue()
T
getCurrentValue()
long
getOperationId()
boolean
isCommitted()
-