Package org.neo4j.graphalgo.core.loading
Class InternalBitIdMappingBuilder
- java.lang.Object
-
- org.neo4j.graphalgo.core.loading.InternalBitIdMappingBuilder
-
- All Implemented Interfaces:
InternalIdMappingBuilder<InternalBitIdMappingBuilder.BulkAdder>
public final class InternalBitIdMappingBuilder extends java.lang.Object implements InternalIdMappingBuilder<InternalBitIdMappingBuilder.BulkAdder>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InternalBitIdMappingBuilder.BulkAdder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalBitIdMappingBuilder.BulkAdder
allocate(int batchLength)
InternalBitIdMappingBuilder.BulkAdder
allocate(long nodes)
SparseLongArray
build()
long
capacity()
static InternalBitIdMappingBuilder
of(long length, AllocationTracker tracker)
long
size()
-
-
-
Method Detail
-
of
public static InternalBitIdMappingBuilder of(long length, AllocationTracker tracker)
-
allocate
@Nullable public InternalBitIdMappingBuilder.BulkAdder allocate(int batchLength)
- Specified by:
allocate
in interfaceInternalIdMappingBuilder<InternalBitIdMappingBuilder.BulkAdder>
-
allocate
public InternalBitIdMappingBuilder.BulkAdder allocate(long nodes)
-
build
public SparseLongArray build()
-
capacity
public long capacity()
- Specified by:
capacity
in interfaceInternalIdMappingBuilder<InternalBitIdMappingBuilder.BulkAdder>
-
size
public long size()
-
-