Class 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OpenGdsIdMapBehavior

        public OpenGdsIdMapBehavior()
    • 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 interface IdMapBehavior
      • 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 interface IdMapBehavior
        Parameters:
        id - the id of the IdMapBuilder to create
      • memoryEstimation

        public org.neo4j.gds.core.utils.mem.MemoryEstimation memoryEstimation()
        Specified by:
        memoryEstimation in interface IdMapBehavior