Package org.neo4j.gds.compat
Class AbstractInMemoryCountStore
- java.lang.Object
-
- org.neo4j.gds.compat.AbstractInMemoryCountStore
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.neo4j.counts.CountsAccessor,org.neo4j.counts.CountsStorage,org.neo4j.counts.CountsStore,org.neo4j.counts.CountsVisitor.Visitable,org.neo4j.kernel.impl.index.schema.ConsistencyCheckable
public abstract class AbstractInMemoryCountStore extends java.lang.Object implements org.neo4j.counts.CountsStore
-
-
Constructor Summary
Constructors Constructor Description AbstractInMemoryCountStore(org.neo4j.gds.api.GraphStore graphStore, org.neo4j.token.TokenHolders tokenHolders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(org.neo4j.counts.CountsVisitor visitor, org.neo4j.io.pagecache.context.CursorContext cursorContext)org.neo4j.counts.CountsAccessor.Updaterapply(long txId, org.neo4j.io.pagecache.context.CursorContext cursorContext)voidclose()booleanconsistencyCheck(org.neo4j.annotations.documented.ReporterFactory reporterFactory, org.neo4j.io.pagecache.context.CursorContext cursorContext)longnodeCount(int labelId, org.neo4j.io.pagecache.context.CursorContext cursorContext)longrelationshipCount(int startLabelId, int typeId, int endLabelId, org.neo4j.io.pagecache.context.CursorContext cursorContext)
-
-
-
Method Detail
-
apply
public org.neo4j.counts.CountsAccessor.Updater apply(long txId, org.neo4j.io.pagecache.context.CursorContext cursorContext)- Specified by:
applyin interfaceorg.neo4j.counts.CountsStore
-
nodeCount
public long nodeCount(int labelId, org.neo4j.io.pagecache.context.CursorContext cursorContext)- Specified by:
nodeCountin interfaceorg.neo4j.counts.CountsAccessor
-
relationshipCount
public long relationshipCount(int startLabelId, int typeId, int endLabelId, org.neo4j.io.pagecache.context.CursorContext cursorContext)- Specified by:
relationshipCountin interfaceorg.neo4j.counts.CountsAccessor
-
accept
public void accept(org.neo4j.counts.CountsVisitor visitor, org.neo4j.io.pagecache.context.CursorContext cursorContext)- Specified by:
acceptin interfaceorg.neo4j.counts.CountsVisitor.Visitable
-
consistencyCheck
public boolean consistencyCheck(org.neo4j.annotations.documented.ReporterFactory reporterFactory, org.neo4j.io.pagecache.context.CursorContext cursorContext)- Specified by:
consistencyCheckin interfaceorg.neo4j.kernel.impl.index.schema.ConsistencyCheckable
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfaceorg.neo4j.counts.CountsStorage
-
-