|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neo4j.kernel.api.index.IndexPopulator.Adapter
public static class IndexPopulator.Adapter
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.neo4j.kernel.api.index.IndexPopulator |
---|
IndexPopulator.Adapter |
Constructor Summary | |
---|---|
IndexPopulator.Adapter()
|
Method Summary | |
---|---|
void |
add(long nodeId,
Object propertyValue)
Called when initially populating an index over existing data. |
void |
close(boolean populationCompletedSuccessfully)
Close this populator and releases any resources related to it. |
void |
create()
Remove all data in the index and paves the way for populating an index. |
void |
drop()
Closes and deletes this index. |
void |
update(Iterable<NodePropertyUpdate> updates)
Apply a set of changes to this index, generally this will be a set of changes from a transaction. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexPopulator.Adapter()
Method Detail |
---|
public void create() throws IOException
IndexPopulator
create
in interface IndexPopulator
IOException
public void drop() throws IOException
IndexPopulator
drop
in interface IndexPopulator
IOException
public void add(long nodeId, Object propertyValue)
IndexPopulator
add
in interface IndexPopulator
nodeId
- node id to index.propertyValue
- property value for the entry to index.public void update(Iterable<NodePropertyUpdate> updates)
IndexPopulator
update
in interface IndexPopulator
public void close(boolean populationCompletedSuccessfully) throws IOException
IndexPopulator
populationCompletedSuccessfully
is true
then it must mark this index
as InternalIndexState.ONLINE
so that future invocations of its parent
SchemaIndexProvider.getInitialState(long)
also returns InternalIndexState.ONLINE
.
close
in interface IndexPopulator
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |