Uses of Class
org.h2.mvstore.MVMap
Packages that use MVMap
Package
Description
Contains high level classes of the database and classes that don't fit in another sub-package.
A persistent storage for tree maps.
Helper classes to use the MVStore in the H2 database.
An R-tree implementation
Helper classes to use the MVStore in a transactional manner.
-
Uses of MVMap in org.h2.engine
Methods in org.h2.engine with parameters of type MVMapModifier 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 MVMapModifier 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) -
Uses of MVMap in org.h2.mvstore
Classes in org.h2.mvstore with type parameters of type MVMapModifier and TypeClassDescriptionstatic class
MVMap.BasicBuilder<M extends MVMap<K,
V>, K, V> A builder for this class.static interface
MVMap.MapBuilder<M extends MVMap<K,
V>, K, V> A builder for maps.Fields in org.h2.mvstore declared as MVMapModifier and TypeFieldDescriptionMVStore.layout
The layout map.Page.map
Map this page belongs toMVStore.meta
The metadata map.Fields in org.h2.mvstore with type parameters of type MVMapModifier and TypeFieldDescriptionprivate final ConcurrentHashMap
<Integer, MVMap<?, ?>> MVStore.maps
Methods in org.h2.mvstore with type parameters of type MVMapModifier and TypeMethodDescription<M extends MVMap<K,
V>, K, V>
MMVStore.openMap
(int id, MVMap.MapBuilder<M, K, V> builder) Open an existing map with the given builder.<M extends MVMap<K,
V>, K, V>
MMVStore.openMap
(String name, MVMap.MapBuilder<M, K, V> builder) Open a map with the given builder.Methods in org.h2.mvstore that return MVMapModifier and TypeMethodDescriptionMVMap.cloneIt()
Clone the current map.MVStore.getLayoutMap()
Get this store's layout map.MVStore.getLayoutMap
(long version) <K,
V> MVMap <K, V> MVStore.getMap
(int id) Get map by id.MVStore.getMetaMap()
Get the metadata map.<K,
V> MVMap <K, V> Open a map with the default settings.MVStore.openMetaMap()
MVMap.openReadOnly
(long rootPos, long version) Open a copy of the map in read-only mode.MVMap.openReadOnly
(Page<K, V> root, long version) MVMap.openVersion
(long version) Open an old version for the given map.Methods in org.h2.mvstore with parameters of type MVMapModifier and TypeMethodDescription(package private) void
MVStore.beforeWrite
(MVMap<?, ?> map) This method is called before writing to a map.Create a copy of this page with potentially different owning map.(package private) final void
Copy a map.(package private) static <K,
V> Page <K, V> Page.createEmptyLeaf
(MVMap<K, V> map) Create a new, empty leaf page.(package private) static <K,
V> Page <K, V> Page.createEmptyNode
(MVMap<K, V> map) Create a new, empty internal node page.(package private) static <K,
V> Page <K, V> Page.createLeaf
(MVMap<K, V> map, K[] keys, V[] values, int memory) Create a new leaf page.static <K,
V> Page <K, V> Page.createNode
(MVMap<K, V> map, K[] keys, Page.PageReference<K, V>[] children, long totalCount, int memory) Create a new non-leaf page.(package private) static <K,
V> Page <K, V> Page.read
(ByteBuffer buff, long pos, MVMap<K, V> map) Read a page.(package private) <K,
V> Page <K, V> Read a page.void
Remove a map from the current version of the store.void
Rename a map.Constructors in org.h2.mvstore with parameters of type MVMapModifierConstructorDescription(package private)
IncompleteNonLeaf
(MVMap<K, V> map, Page.NonLeaf<K, V> source) (package private)
(package private)
private
protected
(package private)
(package private)
(package private)
NonLeaf
(MVMap<K, V> map, Page.NonLeaf<K, V> source, Page.PageReference<K, V>[] children, long totalCount) (package private)
(package private)
(package private)
-
Uses of MVMap in org.h2.mvstore.db
Fields in org.h2.mvstore.db declared as MVMapModifier and TypeFieldDescriptionMVSortedTempResult.index
Optional index.private final MVMap
<Long, LobStorageMap.BlobMeta> LobStorageMap.lobMap
The lob metadata map.MVPlainTempResult.map
Map with identities of rows as keys rows as values.MVSortedTempResult.map
Map with rows as keys and counts of duplicate rows as values.private final MVMap
<LobStorageMap.BlobReference, Value> LobStorageMap.refMap
The reference map.LobStorageMap.tempLobMap
The lob metadata map for temporary lobs.Methods in org.h2.mvstore.db that return MVMapModifier and TypeMethodDescriptionMVDelegateIndex.getMVMap()
abstract MVMap
<K, VersionedValue<V>> MVIndex.getMVMap()
MVPrimaryIndex.getMVMap()
MVSecondaryIndex.getMVMap()
MVSpatialIndex.getMVMap()
LobStorageMap.openLobDataMap
(TransactionStore txStore) Open map used to store LOB datastatic MVMap
<Long, LobStorageMap.BlobMeta> LobStorageMap.openLobMap
(TransactionStore txStore) Open map used to store LOB metadata -
Uses of MVMap in org.h2.mvstore.rtree
Subclasses of MVMap in org.h2.mvstore.rtree -
Uses of MVMap in org.h2.mvstore.tx
Subclasses of MVMap in org.h2.mvstore.txModifier and TypeClassDescriptionprivate static final class
Fields in org.h2.mvstore.tx declared as MVMapModifier and TypeFieldDescriptionfinal MVMap
<K, VersionedValue<V>> TransactionMap.map
The map used for writing (the latest version).TransactionStore.preparedTransactions
The persisted map of prepared transactions.TransactionStore.TxMapBuilder.typeRegistry
TransactionStore.typeRegistry
TransactionStore.undoLogs
Undo logs.Methods in org.h2.mvstore.tx that return MVMapModifier and TypeMethodDescriptionTransactionStore.TxMapBuilder.TMVMap.cloneIt()
(package private) <K,
V> MVMap <K, VersionedValue<V>> TransactionStore.getMap
(int mapId) (package private) <K,
V> MVMap <K, VersionedValue<V>> TransactionStore.openMap
(int mapId) Open the map with the given id.<K,
V> MVMap <K, V> Open the map with the given name.TransactionStore.openTypeRegistry
(MVStore store, MetaType<?> metaDataType) (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 MVMapModifier and TypeMethodDescriptionvoid
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.Method parameters in org.h2.mvstore.tx with type arguments of type MVMapModifier and TypeMethodDescriptionvoid
Transaction.markStatementStart
(HashSet<MVMap<Object, VersionedValue<Object>>> maps) Mark an entry into a new SQL statement execution within this transaction.Constructors in org.h2.mvstore.tx with parameters of type MVMapModifierConstructorDescriptionprivate
(package private)
TransactionMap
(Transaction transaction, MVMap<K, VersionedValue<V>> map) (package private)
TxMapBuilder
(MVMap<String, DataType<?>> typeRegistry, DataType<?> defaultDataType)