Uses of Class
org.h2.value.VersionedValue
Packages that use VersionedValue
Package
Description
Contains high level classes of the database and classes that don't fit in another sub-package.
Helper classes to use the MVStore in the H2 database.
Helper classes to use the MVStore in a transactional manner.
Implementation of row and internal result sets.
Data type and value implementations.
-
Uses of VersionedValue in org.h2.engine
Methods in org.h2.engine with parameters of type VersionedValueModifier and TypeMethodDescriptionvoid
SessionLocal.onRollback
(MVMap<Object, VersionedValue<Object>> map, Object key, VersionedValue<Object> existingValue, VersionedValue<Object> restoredValue) Method parameters in org.h2.engine with type arguments of type VersionedValueModifier and TypeMethodDescriptionprivate static void
SessionLocal.addTableToDependencies
(MVTable table, HashSet<MVMap<Object, VersionedValue<Object>>> maps) private static void
SessionLocal.addTableToDependencies
(MVTable table, HashSet<MVMap<Object, VersionedValue<Object>>> maps, HashSet<MVTable> processed) void
SessionLocal.onRollback
(MVMap<Object, VersionedValue<Object>> map, Object key, VersionedValue<Object> existingValue, VersionedValue<Object> restoredValue) -
Uses of VersionedValue in org.h2.mvstore.db
Subclasses of VersionedValue in org.h2.mvstore.dbFields in org.h2.mvstore.db with type parameters of type VersionedValueModifier and TypeFieldDescriptionprivate final MVRTreeMap
<VersionedValue<Value>> MVSpatialIndex.spatialMap
Methods in org.h2.mvstore.db that return types with arguments of type VersionedValueModifier and TypeMethodDescriptionMVDelegateIndex.getMVMap()
abstract MVMap
<K, VersionedValue<V>> MVIndex.getMVMap()
MVPrimaryIndex.getMVMap()
MVSecondaryIndex.getMVMap()
MVSpatialIndex.getMVMap()
Constructor parameters in org.h2.mvstore.db with type arguments of type VersionedValueModifierConstructorDescription(package private)
FindBoundsCursor
(Page<Spatial, VersionedValue<Value>> root, Spatial filter, SessionLocal session, TransactionMap<Spatial, Value> map, int columnId) -
Uses of VersionedValue in org.h2.mvstore.tx
Subclasses of VersionedValue in org.h2.mvstore.txModifier and TypeClassDescription(package private) class
Class CommittedVersionedValue.(package private) class
Class VersionedValueUncommitted.Fields in org.h2.mvstore.tx declared as VersionedValueModifier and TypeFieldDescription(package private) final VersionedValue
<V> Record.oldValue
Value of the entry before change.Fields in org.h2.mvstore.tx with type parameters of type VersionedValueModifier and TypeFieldDescriptionprotected final Cursor
<K, VersionedValue<V>> TransactionMap.TMIterator.cursor
final MVMap
<K, VersionedValue<V>> TransactionMap.map
The map used for writing (the latest version).private Snapshot
<K, VersionedValue<V>> TransactionMap.snapshot
Snapshot of this map as of beginning of transaction or first usage within transaction or beginning of the statement, depending on isolation levelprivate Snapshot
<K, VersionedValue<V>> TransactionMap.statementSnapshot
Snapshot of this map as of beginning of beginning of the statementprivate final Cursor
<K, VersionedValue<V>> TransactionMap.RepeatableIterator.uncommittedCursor
private final DataType
<VersionedValue<V>> TxDecisionMaker.RepeatableReadLockDecisionMaker.valueType
Methods in org.h2.mvstore.tx with type parameters of type VersionedValueModifier and TypeMethodDescription<T extends VersionedValue<V>>
TCommitDecisionMaker.selectValue
(T existingValue, T providedValue) <T extends VersionedValue<V>>
TTxDecisionMaker.selectValue
(T existingValue, T providedValue) Methods in org.h2.mvstore.tx that return VersionedValueModifier and TypeMethodDescriptionVersionedValue<T>[]
VersionedValueType.createStorage
(int size) (package private) static <X> VersionedValue
<X> VersionedValueCommitted.getInstance
(X value) Either cast to VersionedValue, or wrap in VersionedValueCommitted(package private) static <X> VersionedValue
<X> VersionedValueUncommitted.getInstance
(long operationId, X value, X committedValue) Create new VersionedValueUncommitted.VersionedValueType.read
(ByteBuffer buff) Methods in org.h2.mvstore.tx that return types with arguments of type VersionedValueModifier and TypeMethodDescription(package private) Snapshot
<K, VersionedValue<V>> TransactionMap.createSnapshot()
Create a new snapshot for this map.(package private) <K,
V> MVMap <K, VersionedValue<V>> TransactionStore.getMap
(int mapId) (package private) Snapshot
<K, VersionedValue<V>> TransactionMap.getSnapshot()
(package private) Snapshot
<K, VersionedValue<V>> TransactionMap.getStatementSnapshot()
(package private) <K,
V> MVMap <K, VersionedValue<V>> TransactionStore.openMap
(int mapId) Open the map with the given id.(package private) <K,
V> MVMap <K, VersionedValue<V>> TransactionStore.openVersionedMap
(String name, DataType<K> keyType, DataType<V> valueType) Methods in org.h2.mvstore.tx with parameters of type VersionedValueModifier and TypeMethodDescriptionint
VersionedValueType.compare
(VersionedValue<T> a, VersionedValue<T> b) CommitDecisionMaker.decide
(VersionedValue<V> existingValue, VersionedValue<V> providedValue) TxDecisionMaker.decide
(VersionedValue<V> existingValue, VersionedValue<V> providedValue) TxDecisionMaker.LockDecisionMaker.decide
(VersionedValue<V> existingValue, VersionedValue<V> providedValue) TxDecisionMaker.PutIfAbsentDecisionMaker.decide
(VersionedValue<V> existingValue, VersionedValue<V> providedValue) int
VersionedValueType.getMemory
(VersionedValue<T> v) (package private) V
TxDecisionMaker.getNewValue
(VersionedValue<V> existingValue) Get the new value.(package private) V
TxDecisionMaker.LockDecisionMaker.getNewValue
(VersionedValue<V> existingValue) private boolean
TransactionMap.isIrrelevant
(long operationId, VersionedValue<?> currentValue, BitSet committingTransactions) (package private) MVMap.Decision
TxDecisionMaker.logAndDecideToPut
(VersionedValue<V> valueToLog, V lastValue) Create undo log entry and record for future referencesMVMap.Decision.PUT
decision along with last known committed value(package private) MVMap.Decision
TxDecisionMaker.RepeatableReadLockDecisionMaker.logAndDecideToPut
(VersionedValue<V> valueToLog, V value) void
TransactionStore.RollbackListener.onRollback
(MVMap<Object, VersionedValue<Object>> map, Object key, VersionedValue<Object> existingValue, VersionedValue<Object> restoredValue) Notified of a single map change (add/update/remove)(package private) boolean
TransactionMap.UncommittedIterator.shouldIgnoreRemoval
(VersionedValue<?> data) (package private) boolean
TransactionMap.ValidationIterator.shouldIgnoreRemoval
(VersionedValue<?> data) void
VersionedValueType.write
(WriteBuffer buff, VersionedValue<T> v) Method parameters in org.h2.mvstore.tx with type arguments of type VersionedValueModifier and TypeMethodDescriptionprivate V
TransactionMap.getFromSnapshot
(RootReference<K, VersionedValue<V>> rootRef, BitSet committingTransactions, K key) void
Transaction.markStatementStart
(HashSet<MVMap<Object, VersionedValue<Object>>> maps) Mark an entry into a new SQL statement execution within this transaction.void
TransactionStore.RollbackListener.onRollback
(MVMap<Object, VersionedValue<Object>> map, Object key, VersionedValue<Object> existingValue, VersionedValue<Object> restoredValue) Notified of a single map change (add/update/remove)<K,
V> TransactionMap <K, V> Transaction.openMapX
(MVMap<K, VersionedValue<V>> map) Open the transactional version of the given map.(package private) void
TransactionMap.setStatementSnapshot
(Snapshot<K, VersionedValue<V>> snapshot) (package private) <R> R
TransactionMap.useSnapshot
(BiFunction<RootReference<K, VersionedValue<V>>, BitSet, R> snapshotConsumer) Gets a coherent picture of committing transactions and root reference, passes it to the specified function, and returns its result.Constructors in org.h2.mvstore.tx with parameters of type VersionedValueModifierConstructorDescription(package private)
Record
(int mapId, K key, VersionedValue<V> oldValue) Constructor parameters in org.h2.mvstore.tx with type arguments of type VersionedValueModifierConstructorDescription(package private)
RepeatableReadLockDecisionMaker
(int mapId, Transaction transaction, DataType<VersionedValue<V>> valueType, Function<K, V> snapshotValueSupplier) (package private)
TMIterator
(TransactionMap<K, V> transactionMap, K from, K to, Snapshot<K, VersionedValue<V>> snapshot, boolean reverse, boolean forEntries) (package private)
TransactionMap
(Transaction transaction, MVMap<K, VersionedValue<V>> map) (package private)
UncommittedIterator
(TransactionMap<K, V> transactionMap, K from, K to, Snapshot<K, VersionedValue<V>> snapshot, boolean reverse, boolean forEntries) -
Uses of VersionedValue in org.h2.result
Subclasses of VersionedValue in org.h2.resultModifier and TypeClassDescriptionclass
The default implementation of a row in a table.class
Represents a row in a table.class
The base class for rows stored in a table, and for partial rows stored in the index.class
A simple row that contains data for only one column.final class
Class Sparse. -
Uses of VersionedValue in org.h2.value
Subclasses of VersionedValue in org.h2.valueModifier and TypeClassDescriptionclass
This is the base class for all value classes.final class
Implementation of the ARRAY data type.(package private) class
Base class for BigDecimal-based values.final class
Implementation of the BIGINT data type.final class
Implementation of the BINARY data type.final class
Implementation of the BINARY LARGE OBJECT data type.final class
Implementation of the BOOLEAN data type.(package private) class
Base implementation of byte array based data types.final class
Implementation of the CHARACTER data type.final class
Implementation of the CHARACTER LARGE OBJECT data type.class
Base class for ARRAY and ROW values.final class
Implementation of the DATE data type.final class
Implementation of the DECFLOAT data type.final class
Implementation of the DOUBLE PRECISION data type.final class
ENUM value.class
Base implementation of the ENUM data type.final class
Implementation of the GEOMETRY data type.final class
Implementation of the INTEGER data type.final class
Implementation of the INTERVAL data type.final class
Implementation of the JAVA_OBJECT data type.final class
Implementation of the JSON data type.class
A implementation of the BINARY LARGE OBJECT and CHARACTER LARGE OBJECT data types.final class
Implementation of NULL.final class
Implementation of the NUMERIC data type.final class
Implementation of the REAL data type.final class
Row value.final class
Implementation of the SMALLINT data type.(package private) class
Base implementation of String based data types.final class
Implementation of the TIME data type.final class
Implementation of the TIMESTAMP data type.final class
Implementation of the TIMESTAMP WITH TIME ZONE data type.final class
Implementation of the TIME WITH TIME ZONE data type.final class
Implementation of the TINYINT data type.final class
Implementation of the UUID data type.final class
Implementation of the BINARY VARYING data type.final class
Implementation of the CHARACTER VARYING data type.final class
Implementation of the VARCHAR_IGNORECASE data type.