Class SimilarityWriteProc<ALGO extends org.neo4j.graphalgo.Algorithm<ALGO,​ALGO_RESULT>,​ALGO_RESULT,​CONFIG extends org.neo4j.graphalgo.config.WritePropertyConfig & org.neo4j.graphalgo.config.WriteRelationshipConfig & org.neo4j.graphalgo.config.AlgoBaseConfig>

  • Direct Known Subclasses:
    KnnWriteProc, NodeSimilarityWriteProc

    public abstract class SimilarityWriteProc<ALGO extends org.neo4j.graphalgo.Algorithm<ALGO,​ALGO_RESULT>,​ALGO_RESULT,​CONFIG extends org.neo4j.graphalgo.config.WritePropertyConfig & org.neo4j.graphalgo.config.WriteRelationshipConfig & org.neo4j.graphalgo.config.AlgoBaseConfig>
    extends org.neo4j.graphalgo.WriteProc<ALGO,​ALGO_RESULT,​SimilarityWriteResult,​CONFIG>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.neo4j.graphalgo.AlgoBaseProc

        org.neo4j.graphalgo.AlgoBaseProc.ComputationResult<A extends org.neo4j.graphalgo.Algorithm<A,​RESULT>,​RESULT extends java.lang.Object,​CONFIG extends org.neo4j.graphalgo.config.AlgoBaseConfig>
      • Nested classes/interfaces inherited from class org.neo4j.graphalgo.BaseProc

        org.neo4j.graphalgo.BaseProc.FreeMemoryInspector
    • Field Summary

      • Fields inherited from class org.neo4j.graphalgo.AlgoBaseProc

        SIGNATURE_PROPERTY, STATS_DESCRIPTION
      • Fields inherited from class org.neo4j.graphalgo.BaseProc

        api, callContext, ESTIMATE_DESCRIPTION, log, procedureTransaction, progressTracker, tracker, transaction
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract java.lang.String procedureName()  
      protected abstract org.neo4j.graphalgo.similarity.SimilarityGraphResult similarityGraphResult​(org.neo4j.graphalgo.AlgoBaseProc.ComputationResult<ALGO,​ALGO_RESULT,​CONFIG> computationResult)  
      protected java.util.stream.Stream<SimilarityWriteResult> write​(org.neo4j.graphalgo.AlgoBaseProc.ComputationResult<ALGO,​ALGO_RESULT,​CONFIG> computationResult)  
      • Methods inherited from class org.neo4j.graphalgo.WriteProc

        nodeProperties, nodePropertyList, resultBuilder
      • Methods inherited from class org.neo4j.graphalgo.AlgoBaseProc

        algoName, algorithmFactory, compute, compute, computeEstimate, createGraph, getOrCreateGraphStore, newConfig, newConfig, processInput, validateConfigs, validateConfigsAndGraphStore, validateGraphStore
      • Methods inherited from class org.neo4j.graphalgo.BaseProc

        allocationTracker, databaseId, estimateGraphCreate, newLoader, runWithExceptionLogging, runWithExceptionLogging, tryValidateMemoryUsage, tryValidateMemoryUsage, username, validateConfig, validateConfig, validateGraphName
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimilarityWriteProc

        public SimilarityWriteProc()
    • Method Detail

      • procedureName

        public abstract java.lang.String procedureName()
      • write

        protected java.util.stream.Stream<SimilarityWriteResult> write​(org.neo4j.graphalgo.AlgoBaseProc.ComputationResult<ALGO,​ALGO_RESULT,​CONFIG> computationResult)
        Overrides:
        write in class org.neo4j.graphalgo.WriteProc<ALGO extends org.neo4j.graphalgo.Algorithm<ALGO,​ALGO_RESULT>,​ALGO_RESULT,​SimilarityWriteResult,​CONFIG extends org.neo4j.graphalgo.config.WritePropertyConfig & org.neo4j.graphalgo.config.WriteRelationshipConfig & org.neo4j.graphalgo.config.AlgoBaseConfig>
      • similarityGraphResult

        protected abstract org.neo4j.graphalgo.similarity.SimilarityGraphResult similarityGraphResult​(org.neo4j.graphalgo.AlgoBaseProc.ComputationResult<ALGO,​ALGO_RESULT,​CONFIG> computationResult)