Package org.neo4j.graphalgo.core.loading
Interface AdjacencyListPageSlice
-
public interface AdjacencyListPageSlice
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description long
address()
void
bytesWritten(int numberOfBytes)
Notify that this many bytes have been written to thepage()
.default void
insert(byte[] bytes, int arrayOffset, int length)
Write some bytes at the currentoffset()
.int
offset()
Start offset for safe writes into thepage()
.byte[]
page()
The current page.
-
-
-
Method Detail
-
address
long address()
-
insert
default void insert(byte[] bytes, int arrayOffset, int length)
Write some bytes at the currentoffset()
.
-
page
byte[] page()
The current page. Only writes starting atoffset()
are safe.
-
offset
int offset()
Start offset for safe writes into thepage()
.
-
bytesWritten
void bytesWritten(int numberOfBytes)
Notify that this many bytes have been written to thepage()
.
-
-