|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IIndexManager
Interface for managing named indices.
| Method Summary | |
|---|---|
void |
dropIndex(String name)
Drops the named index. |
void |
registerIndex(IndexMetadata indexMetadata)
Register a named index. |
| Methods inherited from interface com.bigdata.journal.IIndexStore |
|---|
addScheduledTask, destroy, getCollectPlatformStatistics, getCollectQueueStatistics, getExecutorService, getGlobalFileSystem, getGlobalRowStore, getGlobalRowStore, getHttpdPort, getIndex, getLastCommitTime, getResourceLocator, getResourceLockService, getTempStore |
| Method Detail |
|---|
void registerIndex(IndexMetadata indexMetadata)
Note: The name property MUST be set on the IndexMetadata
and the index will be registered under that name.
indexMetadata - The metadata describing the index.
IllegalArgumentException - if the argument is null.
IllegalArgumentException - if the name argument was not specified when the
IndexMetadata was created.
IndexExistsException - if there is an index already registered under the name
returned by IndexMetadata.getName(). Use
IIndexStore#getIndex(String) to test whether there
is an index registered under a given name.void dropIndex(String name)
Note: Whether or not and when index resources are reclaimed is dependent on the store. For example, an immortal store will retain all historical states for all indices. Likewise, a store that uses index partitions may be able to delete index segments immediately.
name - The name of the index to be dropped.
NoSuchIndexException - if name does not identify a registered index.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||