|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.space4j.indexing.IndexManager
public class IndexManager
IndexManager will control all indexes for your space.
| Field Summary | |
|---|---|
static java.lang.String |
KEY
|
| Constructor Summary | |
|---|---|
IndexManager()
|
|
| Method Summary | ||
|---|---|---|
void |
add(java.lang.Object obj,
java.lang.Object source)
Insert an object in this IndexManager. |
|
boolean |
checkIndex(java.lang.String name)
Check if an index with that name already exists. |
|
boolean |
createIndex(Index<?> indx,
Space4J space4j)
Create an index in the system. |
|
boolean |
dropIndex(Index<?> indx,
Space4J space4j)
Drop an index from the system. |
|
|
getIndex(java.lang.String name)
Return an index with that name. |
|
void |
remove(java.lang.Object obj,
java.lang.Object source)
Remove an object from this IndexManager. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String KEY
| Constructor Detail |
|---|
public IndexManager()
| Method Detail |
|---|
public boolean dropIndex(Index<?> indx,
Space4J space4j)
throws CommandException,
LoggerException
indx - The index to dropspace4j - The space4j where this command will be executed.
CommandException
LoggerException
public void add(java.lang.Object obj,
java.lang.Object source)
obj - The object to be inserted.
public void remove(java.lang.Object obj,
java.lang.Object source)
obj - The object to be removed.public boolean checkIndex(java.lang.String name)
name - The name of the index
public <T> Index<T> getIndex(java.lang.String name)
name - The name of the index.
public boolean createIndex(Index<?> indx,
Space4J space4j)
throws CommandException,
LoggerException
indx - The index to be created.space4j - The space4j were this command will be executed.
CommandException
LoggerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||