|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.search.index.IndexAdmin
org.eclipse.smila.search.lucene.index.IndexAdmin
public class IndexAdmin
| Field Summary |
|---|
| Fields inherited from class org.eclipse.smila.search.index.IndexAdmin |
|---|
DELIMITER, SLEEP_TIME |
| Constructor Summary | |
|---|---|
IndexAdmin()
|
|
| Method Summary | |
|---|---|
protected void |
createIndex(DIndexStructure dIndexStructure)
Create index. |
protected void |
deleteIndex(java.lang.String indexName)
Delete index. |
protected boolean |
indexExists(java.lang.String indexName)
Index exists. |
protected void |
renameIndex(java.lang.String indexName,
java.lang.String newIndexName)
Rename index. |
protected void |
reorganizeIndex(java.lang.String indexName)
Reorganize index. |
void |
saveIndex(java.lang.String indexName)
throw new RuntimeException("saveIndex is not implemented!"). |
| Methods inherited from class org.eclipse.smila.search.index.IndexAdmin |
|---|
create, delete, exists, existsIgnoreCase, rename, reorganize, save |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexAdmin()
| Method Detail |
|---|
protected void createIndex(DIndexStructure dIndexStructure)
throws IndexException
createIndex in class IndexAdmindIndexStructure - Index structure.
IndexException - Unable to create index.#createIndex(org.eclipse.smila.search.utils.indexstructure.DIndexStructure)
protected boolean indexExists(java.lang.String indexName)
throws IndexException
indexExists in class IndexAdminindexName - the index name
IndexException - the index exceptionIndexAdmin.indexExists(java.lang.String)
protected void deleteIndex(java.lang.String indexName)
throws IndexException
deleteIndex in class IndexAdminindexName - the index name
IndexException - the index exceptionIndexAdmin.deleteIndex(java.lang.String)
protected void renameIndex(java.lang.String indexName,
java.lang.String newIndexName)
throws IndexException
renameIndex in class IndexAdminindexName - the index namenewIndexName - the new index name
IndexException - the index exceptionIndexAdmin.renameIndex(java.lang.String, java.lang.String)
protected void reorganizeIndex(java.lang.String indexName)
throws IndexException
reorganizeIndex in class IndexAdminindexName - the index name
IndexException - the index exceptioncom.brox.anyfinder.index.IndexAdmin#reorganizeIndex(java.lang.String)
public void saveIndex(java.lang.String indexName)
throws IndexException
saveIndex in class IndexAdminindexName - the index name
IndexException - the index exceptionIndexAdmin.saveIndex(java.lang.String)
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||