Package org.neo4j.gds.core.utils.paged
Class HugeLongArrayBuilder.Allocator
- java.lang.Object
-
- org.neo4j.gds.core.utils.paged.HugeLongArrayBuilder.Allocator
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IdMapAllocator
- Enclosing class:
- HugeLongArrayBuilder
public static final class HugeLongArrayBuilder.Allocator extends java.lang.Object implements IdMapAllocator, java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description Allocator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intallocatedSize()voidclose()voidinsert(long[] nodeIds)booleannextBuffer()longstartId()
-
-
-
Method Detail
-
nextBuffer
public boolean nextBuffer()
-
startId
public long startId()
- Specified by:
startIdin interfaceIdMapAllocator
-
allocatedSize
public int allocatedSize()
- Specified by:
allocatedSizein interfaceIdMapAllocator
-
insert
public void insert(long[] nodeIds)
- Specified by:
insertin interfaceIdMapAllocator
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
-