Uses of Class
org.h2.value.VersionedValue
-
Packages that use VersionedValue Package Description org.h2.engine Contains high level classes of the database and classes that don't fit in another sub-package.org.h2.mvstore.db Helper classes to use the MVStore in the H2 database.org.h2.mvstore.tx Helper classes to use the MVStore in a transactional manner.org.h2.result Implementation of row and internal result sets.org.h2.value Data type and value implementations. -
-
Uses of VersionedValue in org.h2.engine
Methods in org.h2.engine with parameters of type VersionedValue Modifier and Type Method Description void
SessionLocal. onRollback(MVMap<java.lang.Object,VersionedValue<java.lang.Object>> map, java.lang.Object key, VersionedValue<java.lang.Object> existingValue, VersionedValue<java.lang.Object> restoredValue)
Method parameters in org.h2.engine with type arguments of type VersionedValue Modifier and Type Method Description private static void
SessionLocal. addTableToDependencies(MVTable table, java.util.HashSet<MVMap<java.lang.Object,VersionedValue<java.lang.Object>>> maps)
private static void
SessionLocal. addTableToDependencies(MVTable table, java.util.HashSet<MVMap<java.lang.Object,VersionedValue<java.lang.Object>>> maps, java.util.HashSet<MVTable> processed)
void
SessionLocal. onRollback(MVMap<java.lang.Object,VersionedValue<java.lang.Object>> map, java.lang.Object key, VersionedValue<java.lang.Object> existingValue, VersionedValue<java.lang.Object> restoredValue)
-
Uses of VersionedValue in org.h2.mvstore.db
Subclasses of VersionedValue in org.h2.mvstore.db Modifier and Type Class Description class
SpatialKey
A unique spatial key.Fields in org.h2.mvstore.db with type parameters of type VersionedValue Modifier and Type Field Description private MVRTreeMap<VersionedValue<Value>>
MVSpatialIndex. spatialMap
Methods in org.h2.mvstore.db that return types with arguments of type VersionedValue Modifier and Type Method Description MVMap<java.lang.Long,VersionedValue<SearchRow>>
MVDelegateIndex. getMVMap()
abstract MVMap<K,VersionedValue<V>>
MVIndex. getMVMap()
MVMap<java.lang.Long,VersionedValue<SearchRow>>
MVPrimaryIndex. getMVMap()
MVMap<SearchRow,VersionedValue<Value>>
MVSecondaryIndex. getMVMap()
MVMap<Spatial,VersionedValue<Value>>
MVSpatialIndex. getMVMap()
Constructor parameters in org.h2.mvstore.db with type arguments of type VersionedValue Constructor Description 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.tx Modifier and Type Class Description (package private) class
VersionedValueCommitted<T>
Class CommittedVersionedValue.(package private) class
VersionedValueUncommitted<T>
Class VersionedValueUncommitted.Fields in org.h2.mvstore.tx declared as VersionedValue Modifier and Type Field Description (package private) VersionedValue<V>
Record. oldValue
Value of the entry before change.Fields in org.h2.mvstore.tx with type parameters of type VersionedValue Modifier and Type Field Description protected Cursor<K,VersionedValue<V>>
TransactionMap.TMIterator. cursor
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 Cursor<K,VersionedValue<V>>
TransactionMap.RepeatableIterator. uncommittedCursor
private DataType<VersionedValue<V>>
TxDecisionMaker.RepeatableReadLockDecisionMaker. valueType
Methods in org.h2.mvstore.tx with type parameters of type VersionedValue Modifier and Type Method Description <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 VersionedValue Modifier and Type Method Description VersionedValue<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.VersionedValue<T>
VersionedValueType. read(java.nio.ByteBuffer buff)
Methods in org.h2.mvstore.tx that return types with arguments of type VersionedValue Modifier and Type Method Description (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(java.lang.String name, DataType<K> keyType, DataType<V> valueType)
Methods in org.h2.mvstore.tx with parameters of type VersionedValue Modifier and Type Method Description int
VersionedValueType. compare(VersionedValue<T> a, VersionedValue<T> b)
MVMap.Decision
CommitDecisionMaker. decide(VersionedValue<V> existingValue, VersionedValue<V> providedValue)
MVMap.Decision
TxDecisionMaker. decide(VersionedValue<V> existingValue, VersionedValue<V> providedValue)
MVMap.Decision
TxDecisionMaker.LockDecisionMaker. decide(VersionedValue<V> existingValue, VersionedValue<V> providedValue)
MVMap.Decision
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, java.util.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<java.lang.Object,VersionedValue<java.lang.Object>> map, java.lang.Object key, VersionedValue<java.lang.Object> existingValue, VersionedValue<java.lang.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 VersionedValue Modifier and Type Method Description private V
TransactionMap. getFromSnapshot(RootReference<K,VersionedValue<V>> rootRef, java.util.BitSet committingTransactions, K key)
void
Transaction. markStatementStart(java.util.HashSet<MVMap<java.lang.Object,VersionedValue<java.lang.Object>>> maps)
Mark an entry into a new SQL statement execution within this transaction.void
TransactionStore.RollbackListener. onRollback(MVMap<java.lang.Object,VersionedValue<java.lang.Object>> map, java.lang.Object key, VersionedValue<java.lang.Object> existingValue, VersionedValue<java.lang.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(java.util.function.BiFunction<RootReference<K,VersionedValue<V>>,java.util.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 VersionedValue Constructor Description Record(int mapId, K key, VersionedValue<V> oldValue)
Constructor parameters in org.h2.mvstore.tx with type arguments of type VersionedValue Constructor Description RepeatableReadLockDecisionMaker(int mapId, Transaction transaction, DataType<VersionedValue<V>> valueType, java.util.function.Function<K,V> snapshotValueSupplier)
TMIterator(TransactionMap<K,V> transactionMap, K from, K to, Snapshot<K,VersionedValue<V>> snapshot, boolean reverse, boolean forEntries)
TransactionMap(Transaction transaction, MVMap<K,VersionedValue<V>> map)
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.result Modifier and Type Class Description class
DefaultRow
The default implementation of a row in a table.class
Row
Represents a row in a table.class
SearchRow
The base class for rows stored in a table, and for partial rows stored in the index.class
SimpleRowValue
A simple row that contains data for only one column.class
Sparse
Class Sparse. -
Uses of VersionedValue in org.h2.value
Subclasses of VersionedValue in org.h2.value Modifier and Type Class Description class
Value
This is the base class for all value classes.class
ValueArray
Implementation of the ARRAY data type.(package private) class
ValueBigDecimalBase
Base class for BigDecimal-based values.class
ValueBigint
Implementation of the BIGINT data type.class
ValueBinary
Implementation of the BINARY data type.class
ValueBlob
Implementation of the BINARY LARGE OBJECT data type.class
ValueBoolean
Implementation of the BOOLEAN data type.(package private) class
ValueBytesBase
Base implementation of byte array based data types.class
ValueChar
Implementation of the CHARACTER data type.class
ValueClob
Implementation of the CHARACTER LARGE OBJECT data type.class
ValueCollectionBase
Base class for ARRAY and ROW values.class
ValueDate
Implementation of the DATE data type.class
ValueDecfloat
Implementation of the DECFLOAT data type.class
ValueDouble
Implementation of the DOUBLE PRECISION data type.class
ValueEnum
ENUM value.class
ValueEnumBase
Base implementation of the ENUM data type.class
ValueGeometry
Implementation of the GEOMETRY data type.class
ValueInteger
Implementation of the INTEGER data type.class
ValueInterval
Implementation of the INTERVAL data type.class
ValueJavaObject
Implementation of the JAVA_OBJECT data type.class
ValueJson
Implementation of the JSON data type.class
ValueLob
A implementation of the BINARY LARGE OBJECT and CHARACTER LARGE OBJECT data types.class
ValueNull
Implementation of NULL.class
ValueNumeric
Implementation of the NUMERIC data type.class
ValueReal
Implementation of the REAL data type.class
ValueRow
Row value.class
ValueSmallint
Implementation of the SMALLINT data type.(package private) class
ValueStringBase
Base implementation of String based data types.class
ValueTime
Implementation of the TIME data type.class
ValueTimestamp
Implementation of the TIMESTAMP data type.class
ValueTimestampTimeZone
Implementation of the TIMESTAMP WITH TIME ZONE data type.class
ValueTimeTimeZone
Implementation of the TIME WITH TIME ZONE data type.class
ValueTinyint
Implementation of the TINYINT data type.class
ValueUuid
Implementation of the UUID data type.class
ValueVarbinary
Implementation of the BINARY VARYING data type.class
ValueVarchar
Implementation of the CHARACTER VARYING data type.class
ValueVarcharIgnoreCase
Implementation of the VARCHAR_IGNORECASE data type.
-