Class GraphSageWriteProc
- java.lang.Object
-
- org.neo4j.gds.BaseProc
-
- org.neo4j.gds.AlgoBaseProc<ALGO,ALGO_RESULT,CONFIG,PROC_RESULT>
-
- org.neo4j.gds.NodePropertiesWriter<ALGO,ALGO_RESULT,CONFIG,PROC_RESULT>
-
- org.neo4j.gds.WriteProc<org.neo4j.gds.embeddings.graphsage.algo.GraphSage,org.neo4j.gds.embeddings.graphsage.algo.GraphSage.GraphSageResult,GraphSageWriteProc.GraphSageWriteResult,org.neo4j.gds.embeddings.graphsage.algo.GraphSageWriteConfig>
-
- org.neo4j.gds.embeddings.graphsage.GraphSageWriteProc
-
- 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.GraphSageWriteConfig,java.util.stream.Stream<GraphSageWriteProc.GraphSageWriteResult>,org.neo4j.gds.AlgorithmFactory<?,org.neo4j.gds.embeddings.graphsage.algo.GraphSage,org.neo4j.gds.embeddings.graphsage.algo.GraphSageWriteConfig>>
public class GraphSageWriteProc extends org.neo4j.gds.WriteProc<org.neo4j.gds.embeddings.graphsage.algo.GraphSage,org.neo4j.gds.embeddings.graphsage.algo.GraphSage.GraphSageResult,GraphSageWriteProc.GraphSageWriteResult,org.neo4j.gds.embeddings.graphsage.algo.GraphSageWriteConfig>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGraphSageWriteProc.GraphSageWriteResult
-
Constructor Summary
Constructors Constructor Description GraphSageWriteProc()
-
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.GraphSageWriteConfig>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.GraphSageWriteConfignewConfig(java.lang.String username, org.neo4j.gds.core.CypherMapWrapper config)protected org.neo4j.gds.api.properties.nodes.NodePropertyValuesnodeProperties(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.GraphSageWriteConfig> computationResult)protected org.neo4j.gds.result.AbstractResultBuilder<GraphSageWriteProc.GraphSageWriteResult>resultBuilder(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.GraphSageWriteConfig> computeResult, org.neo4j.gds.executor.ExecutionContext executionContext)org.neo4j.gds.executor.validation.ValidationConfiguration<org.neo4j.gds.embeddings.graphsage.algo.GraphSageWriteConfig>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.GraphSageWriteConfig,java.util.stream.Stream<GraphSageWriteProc.GraphSageWriteResult>,org.neo4j.gds.AlgorithmFactory<?,org.neo4j.gds.embeddings.graphsage.algo.GraphSage,org.neo4j.gds.embeddings.graphsage.algo.GraphSageWriteConfig>>withModelCatalog(org.neo4j.gds.core.model.ModelCatalog modelCatalog)java.util.stream.Stream<GraphSageWriteProc.GraphSageWriteResult>write(java.lang.String graphName, java.util.Map<java.lang.String,java.lang.Object> configuration)-
Methods inherited from class org.neo4j.gds.WriteProc
computationResultConsumer, nodePropertyList, write
-
Methods inherited from class org.neo4j.gds.AlgoBaseProc
compute, compute, computeEstimate, configParser, name, newConfigFunction
-
Methods inherited from class org.neo4j.gds.BaseProc
databaseId, executionContext, graphLoaderContext, graphStoreFromCatalog, isGdsAdmin, memoryUsageValidator, modelCatalog, runWithExceptionLogging, runWithExceptionLogging, setModelCatalog, username, validateConfig, validateConfig, validateGraphName
-
-
-
-
Method Detail
-
write
public java.util.stream.Stream<GraphSageWriteProc.GraphSageWriteResult> write(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)
-
validationConfig
public org.neo4j.gds.executor.validation.ValidationConfiguration<org.neo4j.gds.embeddings.graphsage.algo.GraphSageWriteConfig> 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.GraphSageWriteConfig,java.util.stream.Stream<GraphSageWriteProc.GraphSageWriteResult>,org.neo4j.gds.AlgorithmFactory<?,org.neo4j.gds.embeddings.graphsage.algo.GraphSage,org.neo4j.gds.embeddings.graphsage.algo.GraphSageWriteConfig>>- 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.GraphSageWriteConfig,GraphSageWriteProc.GraphSageWriteResult>
-
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.GraphSageWriteConfig,java.util.stream.Stream<GraphSageWriteProc.GraphSageWriteResult>,org.neo4j.gds.AlgorithmFactory<?,org.neo4j.gds.embeddings.graphsage.algo.GraphSage,org.neo4j.gds.embeddings.graphsage.algo.GraphSageWriteConfig>> withModelCatalog(org.neo4j.gds.core.model.ModelCatalog modelCatalog)
-
newConfig
protected org.neo4j.gds.embeddings.graphsage.algo.GraphSageWriteConfig 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.GraphSageWriteConfig,GraphSageWriteProc.GraphSageWriteResult>
-
algorithmFactory
public org.neo4j.gds.GraphStoreAlgorithmFactory<org.neo4j.gds.embeddings.graphsage.algo.GraphSage,org.neo4j.gds.embeddings.graphsage.algo.GraphSageWriteConfig> algorithmFactory()
-
nodeProperties
protected org.neo4j.gds.api.properties.nodes.NodePropertyValues nodeProperties(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.GraphSageWriteConfig> computationResult)
- Overrides:
nodePropertiesin classorg.neo4j.gds.WriteProc<org.neo4j.gds.embeddings.graphsage.algo.GraphSage,org.neo4j.gds.embeddings.graphsage.algo.GraphSage.GraphSageResult,GraphSageWriteProc.GraphSageWriteResult,org.neo4j.gds.embeddings.graphsage.algo.GraphSageWriteConfig>
-
resultBuilder
protected org.neo4j.gds.result.AbstractResultBuilder<GraphSageWriteProc.GraphSageWriteResult> resultBuilder(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.GraphSageWriteConfig> computeResult, org.neo4j.gds.executor.ExecutionContext executionContext)
- Specified by:
resultBuilderin classorg.neo4j.gds.WriteProc<org.neo4j.gds.embeddings.graphsage.algo.GraphSage,org.neo4j.gds.embeddings.graphsage.algo.GraphSage.GraphSageResult,GraphSageWriteProc.GraphSageWriteResult,org.neo4j.gds.embeddings.graphsage.algo.GraphSageWriteConfig>
-
-