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 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 MVMapModifier 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) -
Uses of MVMap in org.h2.mvstore
Classes in org.h2.mvstore with type parameters of type MVMapModifier and TypeClassDescriptionstatic classMVMap.BasicBuilder<M extends MVMap<K,V>, K, V> A builder for this class.static interfaceMVMap.MapBuilder<M extends MVMap<K,V>, K, V> A builder for maps.Subclasses with type arguments of type MVMap in org.h2.mvstoreFields in org.h2.mvstore declared as MVMapModifier and TypeFieldDescriptionMVStore.layoutThe layout map.Page.mapMap this page belongs toMVStore.metaThe metadata map.Fields in org.h2.mvstore with type parameters of type MVMapModifier and TypeFieldDescriptionprivate final ConcurrentHashMap<Integer, MVMap<?, ?>> MVStore.mapsMethods 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) voidMVStore.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 voidCopy 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.voidRemove a map from the current version of the store.voidRename 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)privateprotected(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.indexOptional index.private final MVMap<Long, LobStorageMap.BlobMeta> LobStorageMap.lobMapThe lob metadata map.MVPlainTempResult.mapMap with identities of rows as keys rows as values.MVSortedTempResult.mapMap with rows as keys and counts of duplicate rows as values.private final MVMap<LobStorageMap.BlobReference, Value> LobStorageMap.refMapThe reference map.LobStorageMap.tempLobMapThe 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 classFields in org.h2.mvstore.tx declared as MVMapModifier and TypeFieldDescriptionfinal MVMap<K, VersionedValue<V>> TransactionMap.mapThe map used for writing (the latest version).TransactionStore.preparedTransactionsThe persisted map of prepared transactions.TransactionStore.TxMapBuilder.typeRegistryTransactionStore.typeRegistryTransactionStore.undoLogsUndo 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 TypeMethodDescriptionvoidTransactionStore.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 TypeMethodDescriptionvoidTransaction.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)