Package org.h2.value

Class 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 Detail

      • VersionedValue

        protected VersionedValue()
    • Method Detail

      • isCommitted

        public boolean isCommitted()
      • getOperationId

        public long getOperationId()
      • getCurrentValue

        public T getCurrentValue()
      • getCommittedValue

        public T getCommittedValue()