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.default void
writeInt(int value)
Write a single int at the currentoffset()
.
-
-
-
Method Detail
-
address
long address()
-
writeInt
default void writeInt(int value)
Write a single int at the currentoffset()
. The endianness of the int is left to the implementation.
-
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()
.
-
-