Class DegreeCentralityStatsProc

  • All Implemented Interfaces:
    org.neo4j.gds.executor.AlgorithmSpec<org.neo4j.gds.degree.DegreeCentrality,​org.neo4j.gds.degree.DegreeCentrality.DegreeFunction,​org.neo4j.gds.degree.DegreeCentralityStatsConfig,​java.util.stream.Stream<DegreeCentralityStatsProc.StatsResult>,​org.neo4j.gds.AlgorithmFactory<?,​org.neo4j.gds.degree.DegreeCentrality,​org.neo4j.gds.degree.DegreeCentralityStatsConfig>>

    public class DegreeCentralityStatsProc
    extends org.neo4j.gds.StatsProc<org.neo4j.gds.degree.DegreeCentrality,​org.neo4j.gds.degree.DegreeCentrality.DegreeFunction,​DegreeCentralityStatsProc.StatsResult,​org.neo4j.gds.degree.DegreeCentralityStatsConfig>
    • Field Summary

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

        STATS_DESCRIPTION
      • Fields inherited from class org.neo4j.gds.BaseProc

        callContext, databaseService, ESTIMATE_DESCRIPTION, internalModelCatalog, log, procedureTransaction, taskRegistryFactory, transaction, userLogRegistryFactory, username
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.neo4j.gds.GraphAlgorithmFactory<org.neo4j.gds.degree.DegreeCentrality,​org.neo4j.gds.degree.DegreeCentralityStatsConfig> 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.degree.DegreeCentralityStatsConfig newConfig​(java.lang.String username, org.neo4j.gds.core.CypherMapWrapper config)  
      protected org.neo4j.gds.api.properties.nodes.NodePropertyValues nodeProperties​(org.neo4j.gds.executor.ComputationResult<org.neo4j.gds.degree.DegreeCentrality,​org.neo4j.gds.degree.DegreeCentrality.DegreeFunction,​org.neo4j.gds.degree.DegreeCentralityStatsConfig> computationResult)  
      protected org.neo4j.gds.result.AbstractResultBuilder<DegreeCentralityStatsProc.StatsResult> resultBuilder​(org.neo4j.gds.executor.ComputationResult<org.neo4j.gds.degree.DegreeCentrality,​org.neo4j.gds.degree.DegreeCentrality.DegreeFunction,​org.neo4j.gds.degree.DegreeCentralityStatsConfig> computeResult, org.neo4j.gds.executor.ExecutionContext executionContext)  
      java.util.stream.Stream<DegreeCentralityStatsProc.StatsResult> stats​(java.lang.String graphName, java.util.Map<java.lang.String,​java.lang.Object> configuration)  
      • Methods inherited from class org.neo4j.gds.StatsProc

        computationResultConsumer, stats
      • Methods inherited from class org.neo4j.gds.AlgoBaseProc

        compute, compute, computeEstimate, configParser, name, newConfigFunction, validationConfig
      • Methods inherited from class org.neo4j.gds.BaseProc

        databaseId, executionContext, graphLoaderContext, graphStoreFromCatalog, isGdsAdmin, memoryUsageValidator, modelCatalog, runWithExceptionLogging, runWithExceptionLogging, setModelCatalog, username, validateConfig, validateConfig, validateGraphName
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.neo4j.gds.executor.AlgorithmSpec

        createDefaultExecutorSpec, withModelCatalog
    • Constructor Detail

      • DegreeCentralityStatsProc

        public DegreeCentralityStatsProc()
    • Method Detail

      • stats

        public java.util.stream.Stream<DegreeCentralityStatsProc.StatsResult> stats​(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)
      • newConfig

        protected org.neo4j.gds.degree.DegreeCentralityStatsConfig newConfig​(java.lang.String username,
                                                                             org.neo4j.gds.core.CypherMapWrapper config)
        Specified by:
        newConfig in class org.neo4j.gds.AlgoBaseProc<org.neo4j.gds.degree.DegreeCentrality,​org.neo4j.gds.degree.DegreeCentrality.DegreeFunction,​org.neo4j.gds.degree.DegreeCentralityStatsConfig,​DegreeCentralityStatsProc.StatsResult>
      • algorithmFactory

        public org.neo4j.gds.GraphAlgorithmFactory<org.neo4j.gds.degree.DegreeCentrality,​org.neo4j.gds.degree.DegreeCentralityStatsConfig> algorithmFactory()
      • nodeProperties

        protected org.neo4j.gds.api.properties.nodes.NodePropertyValues nodeProperties​(org.neo4j.gds.executor.ComputationResult<org.neo4j.gds.degree.DegreeCentrality,​org.neo4j.gds.degree.DegreeCentrality.DegreeFunction,​org.neo4j.gds.degree.DegreeCentralityStatsConfig> computationResult)
        Overrides:
        nodeProperties in class org.neo4j.gds.AlgoBaseProc<org.neo4j.gds.degree.DegreeCentrality,​org.neo4j.gds.degree.DegreeCentrality.DegreeFunction,​org.neo4j.gds.degree.DegreeCentralityStatsConfig,​DegreeCentralityStatsProc.StatsResult>
      • resultBuilder

        protected org.neo4j.gds.result.AbstractResultBuilder<DegreeCentralityStatsProc.StatsResult> resultBuilder​(org.neo4j.gds.executor.ComputationResult<org.neo4j.gds.degree.DegreeCentrality,​org.neo4j.gds.degree.DegreeCentrality.DegreeFunction,​org.neo4j.gds.degree.DegreeCentralityStatsConfig> computeResult,
                                                                                                                  org.neo4j.gds.executor.ExecutionContext executionContext)
        Specified by:
        resultBuilder in class org.neo4j.gds.StatsProc<org.neo4j.gds.degree.DegreeCentrality,​org.neo4j.gds.degree.DegreeCentrality.DegreeFunction,​DegreeCentralityStatsProc.StatsResult,​org.neo4j.gds.degree.DegreeCentralityStatsConfig>