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 TypeMethodDescriptionvoidSessionLocal.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 voidSessionLocal.addTableToDependencies(MVTable table, HashSet<MVMap<Object, VersionedValue<Object>>> maps) private static voidSessionLocal.addTableToDependencies(MVTable table, HashSet<MVMap<Object, VersionedValue<Object>>> maps, HashSet<MVTable> processed) voidSessionLocal.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.spatialMapMethods 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) classClass CommittedVersionedValue.(package private) classClass VersionedValueUncommitted.Fields in org.h2.mvstore.tx declared as VersionedValueModifier and TypeFieldDescription(package private) final VersionedValue<V> Record.oldValueValue 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.cursorfinal MVMap<K, VersionedValue<V>> TransactionMap.mapThe map used for writing (the latest version).private Snapshot<K, VersionedValue<V>> TransactionMap.snapshotSnapshot 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.statementSnapshotSnapshot of this map as of beginning of beginning of the statementprivate final Cursor<K, VersionedValue<V>> TransactionMap.RepeatableIterator.uncommittedCursorprivate final DataType<VersionedValue<V>> TxDecisionMaker.RepeatableReadLockDecisionMaker.valueTypeMethods 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 TypeMethodDescriptionintVersionedValueType.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) intVersionedValueType.getMemory(VersionedValue<T> v) (package private) VTxDecisionMaker.getNewValue(VersionedValue<V> existingValue) Get the new value.(package private) VTxDecisionMaker.LockDecisionMaker.getNewValue(VersionedValue<V> existingValue) private booleanTransactionMap.isIrrelevant(long operationId, VersionedValue<?> currentValue, BitSet committingTransactions) (package private) MVMap.DecisionTxDecisionMaker.logAndDecideToPut(VersionedValue<V> valueToLog, V lastValue) Create undo log entry and record for future referencesMVMap.Decision.PUTdecision along with last known committed value(package private) MVMap.DecisionTxDecisionMaker.RepeatableReadLockDecisionMaker.logAndDecideToPut(VersionedValue<V> valueToLog, V value) voidTransactionStore.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) booleanTransactionMap.UncommittedIterator.shouldIgnoreRemoval(VersionedValue<?> data) (package private) booleanTransactionMap.ValidationIterator.shouldIgnoreRemoval(VersionedValue<?> data) voidVersionedValueType.write(WriteBuffer buff, VersionedValue<T> v) Method parameters in org.h2.mvstore.tx with type arguments of type VersionedValueModifier and TypeMethodDescriptionprivate VTransactionMap.getFromSnapshot(RootReference<K, VersionedValue<V>> rootRef, BitSet committingTransactions, K key) voidTransaction.markStatementStart(HashSet<MVMap<Object, VersionedValue<Object>>> maps) Mark an entry into a new SQL statement execution within this transaction.voidTransactionStore.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) voidTransactionMap.setStatementSnapshot(Snapshot<K, VersionedValue<V>> snapshot) (package private) <R> RTransactionMap.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 TypeClassDescriptionclassThe default implementation of a row in a table.classRepresents a row in a table.classThe base class for rows stored in a table, and for partial rows stored in the index.classA simple row that contains data for only one column.final classClass Sparse. -
Uses of VersionedValue in org.h2.value
Subclasses of VersionedValue in org.h2.valueModifier and TypeClassDescriptionclassThis is the base class for all value classes.final classImplementation of the ARRAY data type.(package private) classBase class for BigDecimal-based values.final classImplementation of the BIGINT data type.final classImplementation of the BINARY data type.final classImplementation of the BINARY LARGE OBJECT data type.final classImplementation of the BOOLEAN data type.(package private) classBase implementation of byte array based data types.final classImplementation of the CHARACTER data type.final classImplementation of the CHARACTER LARGE OBJECT data type.classBase class for ARRAY and ROW values.final classImplementation of the DATE data type.final classImplementation of the DECFLOAT data type.final classImplementation of the DOUBLE PRECISION data type.final classENUM value.classBase implementation of the ENUM data type.final classImplementation of the GEOMETRY data type.final classImplementation of the INTEGER data type.final classImplementation of the INTERVAL data type.final classImplementation of the JAVA_OBJECT data type.final classImplementation of the JSON data type.classA implementation of the BINARY LARGE OBJECT and CHARACTER LARGE OBJECT data types.final classImplementation of NULL.final classImplementation of the NUMERIC data type.final classImplementation of the REAL data type.final classRow value.final classImplementation of the SMALLINT data type.(package private) classBase implementation of String based data types.final classImplementation of the TIME data type.final classImplementation of the TIMESTAMP data type.final classImplementation of the TIMESTAMP WITH TIME ZONE data type.final classImplementation of the TIME WITH TIME ZONE data type.final classImplementation of the TINYINT data type.final classImplementation of the UUID data type.final classImplementation of the BINARY VARYING data type.final classImplementation of the CHARACTER VARYING data type.final classImplementation of the VARCHAR_IGNORECASE data type.