Class GraphSageStreamProc

  • All Implemented Interfaces:
    org.neo4j.gds.executor.AlgorithmSpec<org.neo4j.gds.embeddings.graphsage.algo.GraphSage,​org.neo4j.gds.embeddings.graphsage.algo.GraphSage.GraphSageResult,​org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig,​java.util.stream.Stream<GraphSageStreamProc.GraphSageStreamResult>,​org.neo4j.gds.AlgorithmFactory<?,​org.neo4j.gds.embeddings.graphsage.algo.GraphSage,​org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig>>

    public class GraphSageStreamProc
    extends org.neo4j.gds.StreamProc<org.neo4j.gds.embeddings.graphsage.algo.GraphSage,​org.neo4j.gds.embeddings.graphsage.algo.GraphSage.GraphSageResult,​GraphSageStreamProc.GraphSageStreamResult,​org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig>
    • Field Summary

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

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

        api, callContext, ESTIMATE_DESCRIPTION, internalModelCatalog, log, procedureTransaction, taskRegistryFactory, transaction, userLogRegistryFactory, username
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.neo4j.gds.GraphAlgorithmFactory<org.neo4j.gds.embeddings.graphsage.algo.GraphSage,​org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig> algorithmFactory()  
      java.util.stream.Stream<org.neo4j.gds.results.MemoryEstimateResult> estimate​(java.lang.Object graphNameOrConfiguration, java.util.Map<java.lang.String,​java.lang.Object> algoConfiguration)  
      protected org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig newConfig​(java.lang.String username, org.neo4j.gds.core.CypherMapWrapper config)  
      java.util.stream.Stream<GraphSageStreamProc.GraphSageStreamResult> stream​(java.lang.String graphName, java.util.Map<java.lang.String,​java.lang.Object> configuration)  
      protected java.util.stream.Stream<GraphSageStreamProc.GraphSageStreamResult> stream​(org.neo4j.gds.executor.ComputationResult<org.neo4j.gds.embeddings.graphsage.algo.GraphSage,​org.neo4j.gds.embeddings.graphsage.algo.GraphSage.GraphSageResult,​org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig> computationResult)  
      protected GraphSageStreamProc.GraphSageStreamResult streamResult​(long originalNodeId, long internalNodeId, org.neo4j.gds.api.NodeProperties nodeProperties)  
      org.neo4j.gds.executor.validation.ValidationConfiguration<org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig> validationConfig()  
      org.neo4j.gds.executor.AlgorithmSpec<org.neo4j.gds.embeddings.graphsage.algo.GraphSage,​org.neo4j.gds.embeddings.graphsage.algo.GraphSage.GraphSageResult,​org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig,​java.util.stream.Stream<GraphSageStreamProc.GraphSageStreamResult>,​org.neo4j.gds.AlgorithmFactory<?,​org.neo4j.gds.embeddings.graphsage.algo.GraphSage,​org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig>> withModelCatalog​(org.neo4j.gds.core.model.ModelCatalog modelCatalog)  
      • Methods inherited from class org.neo4j.gds.StreamProc

        computationResultConsumer
      • Methods inherited from class org.neo4j.gds.AlgoBaseProc

        compute, compute, computeEstimate, configParser, name, newConfigFunction, nodeProperties
      • 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
    • Constructor Detail

      • GraphSageStreamProc

        public GraphSageStreamProc()
    • Method Detail

      • estimate

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

        protected java.util.stream.Stream<GraphSageStreamProc.GraphSageStreamResult> stream​(org.neo4j.gds.executor.ComputationResult<org.neo4j.gds.embeddings.graphsage.algo.GraphSage,​org.neo4j.gds.embeddings.graphsage.algo.GraphSage.GraphSageResult,​org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig> computationResult)
        Overrides:
        stream in class org.neo4j.gds.StreamProc<org.neo4j.gds.embeddings.graphsage.algo.GraphSage,​org.neo4j.gds.embeddings.graphsage.algo.GraphSage.GraphSageResult,​GraphSageStreamProc.GraphSageStreamResult,​org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig>
      • validationConfig

        public org.neo4j.gds.executor.validation.ValidationConfiguration<org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig> validationConfig()
        Specified by:
        validationConfig in interface org.neo4j.gds.executor.AlgorithmSpec<org.neo4j.gds.embeddings.graphsage.algo.GraphSage,​org.neo4j.gds.embeddings.graphsage.algo.GraphSage.GraphSageResult,​org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig,​java.util.stream.Stream<GraphSageStreamProc.GraphSageStreamResult>,​org.neo4j.gds.AlgorithmFactory<?,​org.neo4j.gds.embeddings.graphsage.algo.GraphSage,​org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig>>
        Overrides:
        validationConfig in class org.neo4j.gds.AlgoBaseProc<org.neo4j.gds.embeddings.graphsage.algo.GraphSage,​org.neo4j.gds.embeddings.graphsage.algo.GraphSage.GraphSageResult,​org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig,​GraphSageStreamProc.GraphSageStreamResult>
      • withModelCatalog

        public org.neo4j.gds.executor.AlgorithmSpec<org.neo4j.gds.embeddings.graphsage.algo.GraphSage,​org.neo4j.gds.embeddings.graphsage.algo.GraphSage.GraphSageResult,​org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig,​java.util.stream.Stream<GraphSageStreamProc.GraphSageStreamResult>,​org.neo4j.gds.AlgorithmFactory<?,​org.neo4j.gds.embeddings.graphsage.algo.GraphSage,​org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig>> withModelCatalog​(org.neo4j.gds.core.model.ModelCatalog modelCatalog)
      • newConfig

        protected org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig newConfig​(java.lang.String username,
                                                                                          org.neo4j.gds.core.CypherMapWrapper config)
        Specified by:
        newConfig in class org.neo4j.gds.AlgoBaseProc<org.neo4j.gds.embeddings.graphsage.algo.GraphSage,​org.neo4j.gds.embeddings.graphsage.algo.GraphSage.GraphSageResult,​org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig,​GraphSageStreamProc.GraphSageStreamResult>
      • algorithmFactory

        public org.neo4j.gds.GraphAlgorithmFactory<org.neo4j.gds.embeddings.graphsage.algo.GraphSage,​org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig> algorithmFactory()
      • streamResult

        protected GraphSageStreamProc.GraphSageStreamResult streamResult​(long originalNodeId,
                                                                         long internalNodeId,
                                                                         org.neo4j.gds.api.NodeProperties nodeProperties)
        Specified by:
        streamResult in class org.neo4j.gds.StreamProc<org.neo4j.gds.embeddings.graphsage.algo.GraphSage,​org.neo4j.gds.embeddings.graphsage.algo.GraphSage.GraphSageResult,​GraphSageStreamProc.GraphSageStreamResult,​org.neo4j.gds.embeddings.graphsage.algo.GraphSageStreamConfig>