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 voidSessionLocal. 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 voidSessionLocal. addTableToDependencies(MVTable table, java.util.HashSet<MVMap<java.lang.Object,VersionedValue<java.lang.Object>>> maps)private static voidSessionLocal. addTableToDependencies(MVTable table, java.util.HashSet<MVMap<java.lang.Object,VersionedValue<java.lang.Object>>> maps, java.util.HashSet<MVTable> processed)voidSessionLocal. 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 classSpatialKeyA 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. spatialMapMethods 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) classVersionedValueCommitted<T>Class CommittedVersionedValue.(package private) classVersionedValueUncommitted<T>Class VersionedValueUncommitted.Fields in org.h2.mvstore.tx declared as VersionedValue Modifier and Type Field Description (package private) VersionedValue<V>Record. oldValueValue 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. cursorMVMap<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 Cursor<K,VersionedValue<V>>TransactionMap.RepeatableIterator. uncommittedCursorprivate DataType<VersionedValue<V>>TxDecisionMaker.RepeatableReadLockDecisionMaker. valueTypeMethods 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 intVersionedValueType. compare(VersionedValue<T> a, VersionedValue<T> b)MVMap.DecisionCommitDecisionMaker. decide(VersionedValue<V> existingValue, VersionedValue<V> providedValue)MVMap.DecisionTxDecisionMaker. decide(VersionedValue<V> existingValue, VersionedValue<V> providedValue)MVMap.DecisionTxDecisionMaker.LockDecisionMaker. decide(VersionedValue<V> existingValue, VersionedValue<V> providedValue)MVMap.DecisionTxDecisionMaker.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, java.util.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<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) 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 VersionedValue Modifier and Type Method Description private VTransactionMap. getFromSnapshot(RootReference<K,VersionedValue<V>> rootRef, java.util.BitSet committingTransactions, K key)voidTransaction. 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.voidTransactionStore.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) voidTransactionMap. setStatementSnapshot(Snapshot<K,VersionedValue<V>> snapshot)(package private) <R> RTransactionMap. 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 classDefaultRowThe default implementation of a row in a table.classRowRepresents a row in a table.classSearchRowThe base class for rows stored in a table, and for partial rows stored in the index.classSimpleRowValueA simple row that contains data for only one column.classSparseClass Sparse. -
Uses of VersionedValue in org.h2.value
Subclasses of VersionedValue in org.h2.value Modifier and Type Class Description classValueThis is the base class for all value classes.classValueArrayImplementation of the ARRAY data type.(package private) classValueBigDecimalBaseBase class for BigDecimal-based values.classValueBigintImplementation of the BIGINT data type.classValueBinaryImplementation of the BINARY data type.classValueBlobImplementation of the BINARY LARGE OBJECT data type.classValueBooleanImplementation of the BOOLEAN data type.(package private) classValueBytesBaseBase implementation of byte array based data types.classValueCharImplementation of the CHARACTER data type.classValueClobImplementation of the CHARACTER LARGE OBJECT data type.classValueCollectionBaseBase class for ARRAY and ROW values.classValueDateImplementation of the DATE data type.classValueDecfloatImplementation of the DECFLOAT data type.classValueDoubleImplementation of the DOUBLE PRECISION data type.classValueEnumENUM value.classValueEnumBaseBase implementation of the ENUM data type.classValueGeometryImplementation of the GEOMETRY data type.classValueIntegerImplementation of the INTEGER data type.classValueIntervalImplementation of the INTERVAL data type.classValueJavaObjectImplementation of the JAVA_OBJECT data type.classValueJsonImplementation of the JSON data type.classValueLobA implementation of the BINARY LARGE OBJECT and CHARACTER LARGE OBJECT data types.classValueNullImplementation of NULL.classValueNumericImplementation of the NUMERIC data type.classValueRealImplementation of the REAL data type.classValueRowRow value.classValueSmallintImplementation of the SMALLINT data type.(package private) classValueStringBaseBase implementation of String based data types.classValueTimeImplementation of the TIME data type.classValueTimestampImplementation of the TIMESTAMP data type.classValueTimestampTimeZoneImplementation of the TIMESTAMP WITH TIME ZONE data type.classValueTimeTimeZoneImplementation of the TIME WITH TIME ZONE data type.classValueTinyintImplementation of the TINYINT data type.classValueUuidImplementation of the UUID data type.classValueVarbinaryImplementation of the BINARY VARYING data type.classValueVarcharImplementation of the CHARACTER VARYING data type.classValueVarcharIgnoreCaseImplementation of the VARCHAR_IGNORECASE data type.
-