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 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 Details

    • VersionedValue

      protected VersionedValue()
  • Method Details

    • isCommitted

      public boolean isCommitted()
    • getOperationId

      public long getOperationId()
    • getCurrentValue

      public T getCurrentValue()
    • getCommittedValue

      public T getCommittedValue()