Top Description Fields Constructors Methods
org.h2.mvstore.tx

pack-priv Class VersionedValueCommitted<T>

extends VersionedValue<T>
Class Inheritance
Known Direct Subclasses
org.h2.mvstore.tx.VersionedValueUncommitted
Imports
org.h2.value.VersionedValue

Class CommittedVersionedValue.
Author
Andrei Tokar

Field Summary

Modifier and TypeField and Description
public final T
value

The current value.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public T
public T
pack-priv static <
type of the value to get the VersionedValue for
X
>
VersionedValue<X>

Returns:

VersionedValue instance
getInstance
(X
the object to cast/wrap
value
)

Either cast to VersionedValue, or wrap in VersionedValueCommitted

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from org.h2.value.VersionedValue:
getOperationIdisCommitted

Field Detail

valueback to summary
public final T value

The current value.

Constructor Detail

VersionedValueCommittedback to summary
pack-priv VersionedValueCommitted(T value)

Method Detail

getCommittedValueback to summary
public T getCommittedValue()

Overrides org.h2.value.VersionedValue.getCommittedValue.

Annotations
@Override
getCurrentValueback to summary
public T getCurrentValue()

Overrides org.h2.value.VersionedValue.getCurrentValue.

Annotations
@Override
getInstanceback to summary
pack-priv static <X> VersionedValue<X> getInstance(X value)

Either cast to VersionedValue, or wrap in VersionedValueCommitted

Parameters
<X>
type of the value to get the VersionedValue for
value:X

the object to cast/wrap

Returns:VersionedValue<X>

VersionedValue instance

Annotations
@SuppressWarnings:unchecked
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override