Package org.neo4j.gds

Class MutateComputationResultConsumer<ALGO extends org.neo4j.gds.Algorithm<ALGO_RESULT>,​ALGO_RESULT,​CONFIG extends org.neo4j.gds.config.MutateConfig,​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.MutateConfig,​RESULT>
    extends java.lang.Object
    implements org.neo4j.gds.executor.ComputationResultConsumer<ALGO,​ALGO_RESULT,​CONFIG,​java.util.stream.Stream<RESULT>>
    • 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:
        consume in interface org.neo4j.gds.executor.ComputationResultConsumer<ALGO extends org.neo4j.gds.Algorithm<ALGO_RESULT>,​ALGO_RESULT,​CONFIG extends org.neo4j.gds.config.MutateConfig,​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)