Class BfsStreamProc

  • All Implemented Interfaces:
    org.neo4j.gds.executor.AlgorithmSpec<org.neo4j.gds.paths.traverse.BFS,​org.neo4j.gds.core.utils.paged.HugeLongArray,​org.neo4j.gds.paths.traverse.BfsStreamConfig,​java.util.stream.Stream<BfsStreamResult>,​org.neo4j.gds.AlgorithmFactory<?,​org.neo4j.gds.paths.traverse.BFS,​org.neo4j.gds.paths.traverse.BfsStreamConfig>>

    public class BfsStreamProc
    extends org.neo4j.gds.AlgoBaseProc<org.neo4j.gds.paths.traverse.BFS,​org.neo4j.gds.core.utils.paged.HugeLongArray,​org.neo4j.gds.paths.traverse.BfsStreamConfig,​BfsStreamResult>
    • Field Summary

      • Fields inherited from class org.neo4j.gds.AlgoBaseProc

        STATS_DESCRIPTION
      • Fields inherited from class org.neo4j.gds.BaseProc

        callContext, databaseService, ESTIMATE_DESCRIPTION, internalModelCatalog, log, procedureTransaction, taskRegistryFactory, transaction, userLogRegistryFactory, username
    • Constructor Summary

      Constructors 
      Constructor Description
      BfsStreamProc()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.neo4j.gds.GraphAlgorithmFactory<org.neo4j.gds.paths.traverse.BFS,​org.neo4j.gds.paths.traverse.BfsStreamConfig> algorithmFactory()  
      java.util.stream.Stream<BfsStreamResult> bfs​(java.lang.String graphName, java.util.Map<java.lang.String,​java.lang.Object> configuration)  
      org.neo4j.gds.executor.ComputationResultConsumer<org.neo4j.gds.paths.traverse.BFS,​org.neo4j.gds.core.utils.paged.HugeLongArray,​org.neo4j.gds.paths.traverse.BfsStreamConfig,​java.util.stream.Stream<BfsStreamResult>> computationResultConsumer()  
      java.util.stream.Stream<org.neo4j.gds.results.MemoryEstimateResult> estimate​(java.lang.Object graphName, java.util.Map<java.lang.String,​java.lang.Object> configuration)  
      protected org.neo4j.gds.paths.traverse.BfsStreamConfig newConfig​(java.lang.String username, org.neo4j.gds.core.CypherMapWrapper config)  
      • Methods inherited from class org.neo4j.gds.AlgoBaseProc

        compute, compute, computeEstimate, configParser, name, newConfigFunction, nodeProperties, validationConfig
      • Methods inherited from class org.neo4j.gds.BaseProc

        databaseId, executionContext, graphLoaderContext, graphStoreFromCatalog, isGdsAdmin, memoryUsageValidator, modelCatalog, runWithExceptionLogging, runWithExceptionLogging, setModelCatalog, username, validateConfig, validateConfig, validateGraphName
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.neo4j.gds.executor.AlgorithmSpec

        createDefaultExecutorSpec, withModelCatalog
    • Constructor Detail

      • BfsStreamProc

        public BfsStreamProc()
    • Method Detail

      • bfs

        public java.util.stream.Stream<BfsStreamResult> bfs​(java.lang.String graphName,
                                                            java.util.Map<java.lang.String,​java.lang.Object> configuration)
      • estimate

        public java.util.stream.Stream<org.neo4j.gds.results.MemoryEstimateResult> estimate​(java.lang.Object graphName,
                                                                                            java.util.Map<java.lang.String,​java.lang.Object> configuration)
      • algorithmFactory

        public org.neo4j.gds.GraphAlgorithmFactory<org.neo4j.gds.paths.traverse.BFS,​org.neo4j.gds.paths.traverse.BfsStreamConfig> algorithmFactory()
      • newConfig

        protected org.neo4j.gds.paths.traverse.BfsStreamConfig newConfig​(java.lang.String username,
                                                                         org.neo4j.gds.core.CypherMapWrapper config)
        Specified by:
        newConfig in class org.neo4j.gds.AlgoBaseProc<org.neo4j.gds.paths.traverse.BFS,​org.neo4j.gds.core.utils.paged.HugeLongArray,​org.neo4j.gds.paths.traverse.BfsStreamConfig,​BfsStreamResult>
      • computationResultConsumer

        public org.neo4j.gds.executor.ComputationResultConsumer<org.neo4j.gds.paths.traverse.BFS,​org.neo4j.gds.core.utils.paged.HugeLongArray,​org.neo4j.gds.paths.traverse.BfsStreamConfig,​java.util.stream.Stream<BfsStreamResult>> computationResultConsumer()