Class GraphSageStreamProc
- java.lang.Object
-
- org.neo4j.gds.BaseProc
-
- org.neo4j.gds.AlgoBaseProc<ALGO,ALGO_RESULT,CONFIG,PROC_RESULT>
-
- 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>
-
- org.neo4j.gds.embeddings.graphsage.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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGraphSageStreamProc.GraphSageStreamResult
-
Constructor Summary
Constructors Constructor Description GraphSageStreamProc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.neo4j.gds.GraphStoreAlgorithmFactory<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.GraphSageStreamConfignewConfig(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.GraphSageStreamResultstreamResult(long originalNodeId, long internalNodeId, org.neo4j.gds.api.properties.nodes.NodePropertyValues nodePropertyValues)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.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
-
-
-
-
Method Detail
-
stream
public java.util.stream.Stream<GraphSageStreamProc.GraphSageStreamResult> stream(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 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:
streamin classorg.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:
validationConfigin interfaceorg.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:
validationConfigin classorg.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:
newConfigin classorg.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.GraphStoreAlgorithmFactory<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.properties.nodes.NodePropertyValues nodePropertyValues)
- Specified by:
streamResultin classorg.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>
-
-