Uses of Class
org.h2.mvstore.MVMap
-
Packages that use MVMap 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 A persistent storage for tree maps.org.h2.mvstore.db Helper classes to use the MVStore in the H2 database.org.h2.mvstore.rtree An R-tree implementationorg.h2.mvstore.tx 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 MVMap 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 MVMap 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)
-
Uses of MVMap in org.h2.mvstore
Classes in org.h2.mvstore with type parameters of type MVMap Modifier and Type Class Description static 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 MVMap Modifier and Type Field Description private MVMap<java.lang.String,java.lang.String>
MVStore. layout
The layout map.MVMap<K,V>
Page. map
Map this page belongs toprivate MVMap<java.lang.String,java.lang.String>
MVStore. meta
The metadata map.Fields in org.h2.mvstore with type parameters of type MVMap Modifier and Type Field Description private java.util.concurrent.ConcurrentHashMap<java.lang.Integer,MVMap<?,?>>
MVStore. maps
Methods in org.h2.mvstore with type parameters of type MVMap Modifier and Type Method Description <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(java.lang.String name, MVMap.MapBuilder<M,K,V> builder)
Open a map with the given builder.Methods in org.h2.mvstore that return MVMap Modifier and Type Method Description protected MVMap<K,V>
MVMap. cloneIt()
Clone the current map.protected MVMap<K,V>
MVMap.Builder. create(java.util.Map<java.lang.String,java.lang.Object> config)
MVMap<java.lang.String,java.lang.String>
MVStore. getLayoutMap()
Get this store's layout map.private MVMap<java.lang.String,java.lang.String>
MVStore. getLayoutMap(long version)
<K,V>
MVMap<K,V>MVStore. getMap(int id)
Get map by id.MVMap<java.lang.String,java.lang.String>
MVStore. getMetaMap()
Get the metadata map.<K,V>
MVMap<K,V>MVStore. openMap(java.lang.String name)
Open a map with the default settings.private MVMap<java.lang.String,java.lang.String>
MVStore. openMetaMap()
(package private) MVMap<K,V>
MVMap. openReadOnly(long rootPos, long version)
Open a copy of the map in read-only mode.private MVMap<K,V>
MVMap. openReadOnly(Page<K,V> root, long version)
MVMap<K,V>
MVMap. openVersion(long version)
Open an old version for the given map.Methods in org.h2.mvstore with parameters of type MVMap Modifier and Type Method Description (package private) void
MVStore. beforeWrite(MVMap<?,?> map)
This method is called before writing to a map.(package private) abstract Page<K,V>
Page. copy(MVMap<K,V> map, boolean eraseChildrenRefs)
Create a copy of this page with potentially different owning map.Page<K,V>
Page.Leaf. copy(MVMap<K,V> map, boolean eraseChildrenRefs)
Page<K,V>
Page.NonLeaf. copy(MVMap<K,V> map, boolean eraseChildrenRefs)
(package private) void
MVMap. copyFrom(MVMap<K,V> sourceMap)
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(java.nio.ByteBuffer buff, long pos, MVMap<K,V> map)
Read a page.(package private) <K,V>
Page<K,V>MVStore. readPage(MVMap<K,V> map, long pos)
Read a page.void
MVStore. removeMap(MVMap<?,?> map)
Remove a map from the current version of the store.void
MVStore. renameMap(MVMap<?,?> map, java.lang.String newName)
Rename a map.Constructors in org.h2.mvstore with parameters of type MVMap Constructor Description IncompleteNonLeaf(MVMap<K,V> map, Page.NonLeaf<K,V> source)
Leaf(MVMap<K,V> map)
Leaf(MVMap<K,V> map, K[] keys, V[] values)
Leaf(MVMap<K,V> map, Page.Leaf<K,V> source)
MVMap(MVMap<K,V> source)
NonLeaf(MVMap<K,V> map)
NonLeaf(MVMap<K,V> map, K[] keys, Page.PageReference<K,V>[] children, long totalCount)
NonLeaf(MVMap<K,V> map, Page.NonLeaf<K,V> source, Page.PageReference<K,V>[] children, long totalCount)
Page(MVMap<K,V> map)
Page(MVMap<K,V> map, K[] keys)
Page(MVMap<K,V> map, Page<K,V> source)
-
Uses of MVMap in org.h2.mvstore.db
Fields in org.h2.mvstore.db declared as MVMap Modifier and Type Field Description private MVMap<ValueRow,Value>
MVSortedTempResult. index
Optional index.private MVMap<java.lang.Long,LobStorageMap.BlobMeta>
LobStorageMap. lobMap
The lob metadata map.private MVMap<java.lang.Long,ValueRow>
MVPlainTempResult. map
Map with identities of rows as keys rows as values.private MVMap<ValueRow,java.lang.Long>
MVSortedTempResult. map
Map with rows as keys and counts of duplicate rows as values.private MVMap<LobStorageMap.BlobReference,Value>
LobStorageMap. refMap
The reference map.private MVMap<java.lang.Long,byte[]>
LobStorageMap. tempLobMap
The lob metadata map for temporary lobs.Methods in org.h2.mvstore.db that return MVMap 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()
static MVMap<java.lang.Long,byte[]>
LobStorageMap. openLobDataMap(TransactionStore txStore)
Open map used to store LOB datastatic MVMap<java.lang.Long,LobStorageMap.BlobMeta>
LobStorageMap. openLobMap(TransactionStore txStore)
Open map used to store LOB metadataprivate MVMap<SearchRow,Value>
MVSecondaryIndex. openMap(java.lang.String mapName)
-
Uses of MVMap in org.h2.mvstore.rtree
Subclasses of MVMap in org.h2.mvstore.rtree Modifier and Type Class Description class
MVRTreeMap<V>
An r-tree implementation. -
Uses of MVMap in org.h2.mvstore.tx
Subclasses of MVMap in org.h2.mvstore.tx Modifier and Type Class Description private static class
TransactionStore.TxMapBuilder.TMVMap<K,V>
Fields in org.h2.mvstore.tx declared as MVMap Modifier and Type Field Description MVMap<K,VersionedValue<V>>
TransactionMap. map
The map used for writing (the latest version).private MVMap<java.lang.Integer,java.lang.Object[]>
TransactionStore. preparedTransactions
The persisted map of prepared transactions.private MVMap<java.lang.String,DataType<?>>
TransactionStore.TxMapBuilder. typeRegistry
private MVMap<java.lang.String,DataType<?>>
TransactionStore. typeRegistry
(package private) MVMap<java.lang.Long,Record<?,?>>[]
TransactionStore. undoLogs
Undo logs.Methods in org.h2.mvstore.tx that return MVMap Modifier and Type Method Description protected MVMap<K,V>
TransactionStore.TxMapBuilder.TMVMap. cloneIt()
protected MVMap<K,V>
TransactionStore.TxMapBuilder. create(java.util.Map<java.lang.String,java.lang.Object> config)
MVMap<K,V>
TransactionStore.TxMapBuilder. create(MVStore store, java.util.Map<java.lang.String,java.lang.Object> config)
(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>TransactionStore. openMap(java.lang.String name, DataType<K> keyType, DataType<V> valueType)
Open the map with the given name.private static MVMap<java.lang.String,DataType<?>>
TransactionStore. openTypeRegistry(MVStore store, MetaType<?> metaDataType)
(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 MVMap Modifier and Type Method Description 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.Method parameters in org.h2.mvstore.tx with type arguments of type MVMap Modifier and Type Method Description 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.Constructors in org.h2.mvstore.tx with parameters of type MVMap Constructor Description TMVMap(MVMap<K,V> source)
TransactionMap(Transaction transaction, MVMap<K,VersionedValue<V>> map)
TxMapBuilder(MVMap<java.lang.String,DataType<?>> typeRegistry, DataType<?> defaultDataType)
-