Package org.neo4j.gds.core.loading
Class HugeIdMapBuilder
- java.lang.Object
-
- org.neo4j.gds.core.loading.HugeIdMapBuilder
-
- All Implemented Interfaces:
IdMapBuilder
public final class HugeIdMapBuilder extends java.lang.Object implements IdMapBuilder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HugeIdMapBuilder.BulkAdder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HugeIdMapBuilder.BulkAdder
allocate(int batchLength)
HugeLongArray
array()
IdMap
build(LabelInformation.Builder labelInformationBuilder, long highestNodeId, int concurrency, boolean checkDuplicateIds, AllocationTracker allocationTracker)
static HugeIdMapBuilder
of(long capacity, AllocationTracker allocationTracker)
long
size()
-
-
-
Method Detail
-
of
public static HugeIdMapBuilder of(long capacity, AllocationTracker allocationTracker)
-
allocate
public HugeIdMapBuilder.BulkAdder allocate(int batchLength)
- Specified by:
allocate
in interfaceIdMapBuilder
-
build
public IdMap build(LabelInformation.Builder labelInformationBuilder, long highestNodeId, int concurrency, boolean checkDuplicateIds, AllocationTracker allocationTracker)
- Specified by:
build
in interfaceIdMapBuilder
-
array
public HugeLongArray array()
-
size
public long size()
-
-