public interface IndexStorage
| Modifier and Type | Method and Description |
|---|---|
RootPage |
allocateCacheIndex(Integer cacheId,
String idxName,
int segment)
Allocate page for cache index.
|
RootPage |
allocateIndex(String idxName)
Get or allocate initial page for an index.
|
void |
destroy()
Destroy this meta store.
|
RootPage |
dropCacheIndex(Integer cacheId,
String idxName,
int segment)
Deallocate index page and remove from tree.
|
RootPage |
dropIndex(String idxName)
Deallocate index page and remove from tree.
|
Collection<String> |
getIndexNames() |
boolean |
nameIsAssosiatedWithCache(String idxName,
int cacheId) |
RootPage allocateCacheIndex(Integer cacheId, String idxName, int segment) throws IgniteCheckedException
cacheId - Cache ID.idxName - Index name.segment - Segment.IgniteCheckedException - If failed.RootPage allocateIndex(String idxName) throws IgniteCheckedException
idxName - 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.IgniteCheckedException - If failed.RootPage dropCacheIndex(Integer cacheId, String idxName, int segment) throws IgniteCheckedException
cacheId - Cache ID.idxName - Index name.segment - Segment.IgniteCheckedException - If failed.RootPage dropIndex(String idxName) throws IgniteCheckedException
idxName - Index name.IgniteCheckedException - If failed.void destroy()
throws IgniteCheckedException
IgniteCheckedException - If failed.Collection<String> getIndexNames() throws IgniteCheckedException
IgniteCheckedException - If failed.boolean nameIsAssosiatedWithCache(String idxName, int cacheId)
idxName - Index name to check.cacheId - Cache id to check.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020