Package org.neo4j.gds
Class WriteStreamOfRelationshipsProc<ALGO extends org.neo4j.gds.Algorithm<ALGO_RESULT>,ALGO_RESULT extends org.neo4j.gds.core.write.RelationshipStreaming,PROC_RESULT,CONFIG extends org.neo4j.gds.config.WriteRelationshipConfig & org.neo4j.gds.config.WritePropertyConfig & org.neo4j.gds.config.AlgoBaseConfig>
- java.lang.Object
-
- org.neo4j.gds.BaseProc
-
- org.neo4j.gds.AlgoBaseProc<ALGO,ALGO_RESULT,CONFIG,PROC_RESULT>
-
- org.neo4j.gds.StreamOfRelationshipsWriter<ALGO,ALGO_RESULT,CONFIG,PROC_RESULT>
-
- org.neo4j.gds.WriteStreamOfRelationshipsProc<ALGO,ALGO_RESULT,PROC_RESULT,CONFIG>
-
- All Implemented Interfaces:
org.neo4j.gds.executor.AlgorithmSpec<ALGO,ALGO_RESULT,CONFIG,java.util.stream.Stream<PROC_RESULT>,org.neo4j.gds.AlgorithmFactory<?,ALGO,CONFIG>>
public abstract class WriteStreamOfRelationshipsProc<ALGO extends org.neo4j.gds.Algorithm<ALGO_RESULT>,ALGO_RESULT extends org.neo4j.gds.core.write.RelationshipStreaming,PROC_RESULT,CONFIG extends org.neo4j.gds.config.WriteRelationshipConfig & org.neo4j.gds.config.WritePropertyConfig & org.neo4j.gds.config.AlgoBaseConfig> extends StreamOfRelationshipsWriter<ALGO,ALGO_RESULT,CONFIG,PROC_RESULT>
-
-
Field Summary
-
Fields inherited from class org.neo4j.gds.StreamOfRelationshipsWriter
relationshipStreamExporterBuilder
-
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
-
-
Constructor Summary
Constructors Constructor Description WriteStreamOfRelationshipsProc()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.neo4j.gds.executor.ComputationResultConsumer<ALGO,ALGO_RESULT,CONFIG,java.util.stream.Stream<PROC_RESULT>>computationResultConsumer()protected org.neo4j.gds.api.NodePropertiesnodeProperties(org.neo4j.gds.executor.ComputationResult<ALGO,ALGO_RESULT,CONFIG> computationResult)Returns a single node property that has been produced by the procedure.protected abstract org.neo4j.gds.result.AbstractResultBuilder<PROC_RESULT>resultBuilder(org.neo4j.gds.executor.ComputationResult<ALGO,ALGO_RESULT,CONFIG> computeResult)protected java.util.stream.Stream<PROC_RESULT>write(org.neo4j.gds.executor.ComputationResult<ALGO,ALGO_RESULT,CONFIG> computeResult)-
Methods inherited from class org.neo4j.gds.StreamOfRelationshipsWriter
executionContext
-
Methods inherited from class org.neo4j.gds.AlgoBaseProc
compute, compute, computeEstimate, configParser, name, newConfig, newConfigFunction, validationConfig
-
Methods inherited from class org.neo4j.gds.BaseProc
databaseId, graphLoaderContext, graphStoreFromCatalog, isGdsAdmin, memoryUsageValidator, modelCatalog, runWithExceptionLogging, runWithExceptionLogging, setModelCatalog, username, validateConfig, validateConfig, validateGraphName
-
-
-
-
Method Detail
-
resultBuilder
protected abstract org.neo4j.gds.result.AbstractResultBuilder<PROC_RESULT> resultBuilder(org.neo4j.gds.executor.ComputationResult<ALGO,ALGO_RESULT,CONFIG> computeResult)
-
nodeProperties
protected org.neo4j.gds.api.NodeProperties nodeProperties(org.neo4j.gds.executor.ComputationResult<ALGO,ALGO_RESULT,CONFIG> computationResult)
Description copied from class:AlgoBaseProcReturns a single node property that has been produced by the procedure.- Overrides:
nodePropertiesin classAlgoBaseProc<ALGO extends org.neo4j.gds.Algorithm<ALGO_RESULT>,ALGO_RESULT extends org.neo4j.gds.core.write.RelationshipStreaming,CONFIG extends org.neo4j.gds.config.WriteRelationshipConfig & org.neo4j.gds.config.WritePropertyConfig & org.neo4j.gds.config.AlgoBaseConfig,PROC_RESULT>
-
computationResultConsumer
public org.neo4j.gds.executor.ComputationResultConsumer<ALGO,ALGO_RESULT,CONFIG,java.util.stream.Stream<PROC_RESULT>> computationResultConsumer()
-
write
protected java.util.stream.Stream<PROC_RESULT> write(org.neo4j.gds.executor.ComputationResult<ALGO,ALGO_RESULT,CONFIG> computeResult)
-
-