|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neo4j.kernel.api.index.IndexAccessor.Adapter
public static class IndexAccessor.Adapter
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.neo4j.kernel.api.index.IndexAccessor |
---|
IndexAccessor.Adapter |
Constructor Summary | |
---|---|
IndexAccessor.Adapter()
|
Method Summary | |
---|---|
void |
close()
Closes this index accessor. |
void |
drop()
Deletes this index as well as closes all used external resources. |
void |
force()
Forces this index to disk. |
IndexReader |
newReader()
|
void |
recover(Iterable<NodePropertyUpdate> updates)
Apply a set of changes to this index. |
void |
updateAndCommit(Iterable<NodePropertyUpdate> updates)
Apply a set of changes to this index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexAccessor.Adapter()
Method Detail |
---|
public void drop()
IndexAccessor
drop
in interface IndexAccessor
public void updateAndCommit(Iterable<NodePropertyUpdate> updates)
IndexAccessor
readers
created after this update.
updateAndCommit
in interface IndexAccessor
public void recover(Iterable<NodePropertyUpdate> updates) throws IOException
IndexAccessor
IndexAccessor.updateAndCommit(Iterable)
during recovery of the database when starting up after
a crash or similar. Updates given here may have already been applied to this index, so
additional checks must be in place so that data doesn't get duplicated, but is idempotent.
recover
in interface IndexAccessor
IOException
public void force()
IndexAccessor
force
in interface IndexAccessor
public void close()
IndexAccessor
close
in interface IndexAccessor
public IndexReader newReader()
newReader
in interface IndexAccessor
IndexReader
responsible for looking up results in the index. The returned
reader must honor repeatable reads.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |