Package org.neo4j.gds
Class MutateComputationResultConsumer<ALGO extends org.neo4j.gds.Algorithm<ALGO_RESULT>,ALGO_RESULT,CONFIG extends org.neo4j.gds.config.AlgoBaseConfig,RESULT>
- java.lang.Object
-
- org.neo4j.gds.MutateComputationResultConsumer<ALGO,ALGO_RESULT,CONFIG,RESULT>
-
- All Implemented Interfaces:
org.neo4j.gds.executor.ComputationResultConsumer<ALGO,ALGO_RESULT,CONFIG,java.util.stream.Stream<RESULT>>
- Direct Known Subclasses:
MutatePropertyComputationResultConsumer
public abstract class MutateComputationResultConsumer<ALGO extends org.neo4j.gds.Algorithm<ALGO_RESULT>,ALGO_RESULT,CONFIG extends org.neo4j.gds.config.AlgoBaseConfig,RESULT> extends java.lang.Object implements org.neo4j.gds.executor.ComputationResultConsumer<ALGO,ALGO_RESULT,CONFIG,java.util.stream.Stream<RESULT>>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMutateComputationResultConsumer(ResultBuilderFunction<ALGO,ALGO_RESULT,CONFIG,RESULT> resultBuilderFunction)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.stream.Stream<RESULT>consume(org.neo4j.gds.executor.ComputationResult<ALGO,ALGO_RESULT,CONFIG> computationResult, org.neo4j.gds.executor.ExecutionContext executionContext)protected abstract voidupdateGraphStore(org.neo4j.gds.result.AbstractResultBuilder<?> resultBuilder, org.neo4j.gds.executor.ComputationResult<ALGO,ALGO_RESULT,CONFIG> computationResult, org.neo4j.gds.executor.ExecutionContext executionContext)
-
-
-
Constructor Detail
-
MutateComputationResultConsumer
protected MutateComputationResultConsumer(ResultBuilderFunction<ALGO,ALGO_RESULT,CONFIG,RESULT> resultBuilderFunction)
-
-
Method Detail
-
consume
public java.util.stream.Stream<RESULT> consume(org.neo4j.gds.executor.ComputationResult<ALGO,ALGO_RESULT,CONFIG> computationResult, org.neo4j.gds.executor.ExecutionContext executionContext)
- Specified by:
consumein interfaceorg.neo4j.gds.executor.ComputationResultConsumer<ALGO extends org.neo4j.gds.Algorithm<ALGO_RESULT>,ALGO_RESULT,CONFIG extends org.neo4j.gds.config.AlgoBaseConfig,RESULT>
-
updateGraphStore
protected abstract void updateGraphStore(org.neo4j.gds.result.AbstractResultBuilder<?> resultBuilder, org.neo4j.gds.executor.ComputationResult<ALGO,ALGO_RESULT,CONFIG> computationResult, org.neo4j.gds.executor.ExecutionContext executionContext)
-
-