Package org.neo4j.gds.core.utils.paged
Class ShardedLongLongMap.BatchedBuilder.Batch
- java.lang.Object
-
- org.neo4j.gds.core.utils.paged.ShardedLongLongMap.BatchedBuilder.Batch
-
- All Implemented Interfaces:
IdMapAllocator
- Enclosing class:
- ShardedLongLongMap.BatchedBuilder
public static final class ShardedLongLongMap.BatchedBuilder.Batch extends java.lang.Object implements IdMapAllocator
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
addNode(long nodeId)
int
allocatedSize()
void
insert(long[] nodeIds)
long
startId()
-
-
-
Method Detail
-
startId
public long startId()
- Specified by:
startId
in interfaceIdMapAllocator
-
allocatedSize
public int allocatedSize()
- Specified by:
allocatedSize
in interfaceIdMapAllocator
-
insert
public void insert(long[] nodeIds)
- Specified by:
insert
in interfaceIdMapAllocator
-
addNode
public long addNode(long nodeId)
-
-