|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AutoIndexer<T extends PropertyContainer>
The primary interaction point with the auto indexing infrastructure of neo4j.
From here it is possible to enable/disable the auto indexing functionality,
set/unset auto indexed properties and retrieve index hits.
It only exposes a ReadableIndex
(see getAutoIndex()
) and
the idea is that the mutating operations are managed by the AutoIndexer only
and the user should have no access other than mutating operations on the
database primitives.
Method Summary | |
---|---|
ReadableIndex<T> |
getAutoIndex()
Returns the auto index used by the auto indexer. |
Set<String> |
getAutoIndexedProperties()
Returns the set of property names that are currently monitored for auto indexing. |
boolean |
isEnabled()
Returns true iff this auto indexer is enabled, false otherwise. |
void |
setEnabled(boolean enabled)
Sets the AutoIndexer as enabled or not. |
void |
startAutoIndexingProperty(String propName)
Start auto indexing a property. |
void |
stopAutoIndexingProperty(String propName)
Removes the argument from the set of auto indexed properties. |
Method Detail |
---|
void setEnabled(boolean enabled)
enabled
- True to enable this auto indexer, false to disable it.boolean isEnabled()
setAutoIndexingEnabled(boolean)
setEnabled(boolean)
ReadableIndex<T> getAutoIndex()
void startAutoIndexingProperty(String propName)
propName
- The property name to start auto indexing.void stopAutoIndexingProperty(String propName)
propName
- The property name to stop auto indexing.Set<String> getAutoIndexedProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |