| Modifier and Type | Class and Description |
|---|---|
static class |
MetadataStorage.MetaStoreInnerIO |
static class |
MetadataStorage.MetaStoreLeafIO |
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_IDX_NAME_LEN
Max index name length (bytes num)
|
| Constructor and Description |
|---|
MetadataStorage(PageMemory pageMem,
IgniteWriteAheadLogManager wal,
AtomicLong globalRmvId,
int cacheId,
int allocPartId,
byte allocSpace,
ReuseList reuseList,
long rootPageId,
boolean initNew) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy this meta store.
|
RootPage |
dropRootPage(String idxName)
Deallocate index page and remove from tree.
|
RootPage |
getOrAllocateForTree(String idxName)
Get or allocate initial page for an index.
|
public static final int MAX_IDX_NAME_LEN
public MetadataStorage(PageMemory pageMem, IgniteWriteAheadLogManager wal, AtomicLong globalRmvId, int cacheId, int allocPartId, byte allocSpace, ReuseList reuseList, long rootPageId, boolean initNew)
pageMem - Page memory.wal - Write ahead log manager.public RootPage getOrAllocateForTree(String idxName) throws IgniteCheckedException
getOrAllocateForTree in interface MetaStoreidxName - Index name.RootPage that keeps pageId, allocated flag that shows whether the page
was newly allocated, and rootId that is counter which increments each time new page allocated.IgniteCheckedExceptionpublic RootPage dropRootPage(String idxName) throws IgniteCheckedException
dropRootPage in interface MetaStoreidxName - Index name.IgniteCheckedExceptionpublic void destroy()
throws IgniteCheckedException
destroy in interface MetaStoreIgniteCheckedException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017