Package org.neo4j.gds.core
Class OpenGdsIdMapBehavior
- java.lang.Object
-
- org.neo4j.gds.core.OpenGdsIdMapBehavior
-
- All Implemented Interfaces:
IdMapBehavior
public class OpenGdsIdMapBehavior extends java.lang.Object implements IdMapBehavior
-
-
Constructor Summary
Constructors Constructor Description OpenGdsIdMapBehavior()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdMapBuilder
create(int concurrency, java.util.Optional<java.lang.Long> maxOriginalId, java.util.Optional<java.lang.Long> nodeCount)
IdMapBuilder
create(java.lang.String id, int concurrency, java.util.Optional<java.lang.Long> maxOriginalId, java.util.Optional<java.lang.Long> nodeCount)
Attempts to create an IdMapBuilder identified by the given id.org.neo4j.gds.core.utils.mem.MemoryEstimation
memoryEstimation()
-
-
-
Method Detail
-
create
public IdMapBuilder create(int concurrency, java.util.Optional<java.lang.Long> maxOriginalId, java.util.Optional<java.lang.Long> nodeCount)
- Specified by:
create
in interfaceIdMapBehavior
-
create
public IdMapBuilder create(java.lang.String id, int concurrency, java.util.Optional<java.lang.Long> maxOriginalId, java.util.Optional<java.lang.Long> nodeCount)
Description copied from interface:IdMapBehavior
Attempts to create an IdMapBuilder identified by the given id.If the id is not recognized, we fall back to the default behavior using
IdMapBehavior.create(int, Optional, Optional)
.- Specified by:
create
in interfaceIdMapBehavior
- Parameters:
id
- the id of the IdMapBuilder to create
-
memoryEstimation
public org.neo4j.gds.core.utils.mem.MemoryEstimation memoryEstimation()
- Specified by:
memoryEstimation
in interfaceIdMapBehavior
-
-