Class TopKGraph

  • All Implemented Interfaces:
    org.neo4j.gds.api.BatchNodeIterable, org.neo4j.gds.api.Degrees, org.neo4j.gds.api.Graph, org.neo4j.gds.api.IdMap, org.neo4j.gds.api.NodeIterator, org.neo4j.gds.api.PartialIdMap, org.neo4j.gds.api.properties.nodes.NodePropertyContainer, org.neo4j.gds.api.RelationshipIterator, org.neo4j.gds.api.RelationshipPredicate, org.neo4j.gds.api.RelationshipProperties

    public class TopKGraph
    extends org.neo4j.gds.api.GraphAdapter
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.neo4j.gds.api.BatchNodeIterable

        org.neo4j.gds.api.BatchNodeIterable.BitSetIdIterator, org.neo4j.gds.api.BatchNodeIterable.IdIterable, org.neo4j.gds.api.BatchNodeIterable.IdIterator
      • Nested classes/interfaces inherited from interface org.neo4j.gds.api.IdMap

        org.neo4j.gds.api.IdMap.NodeLabelConsumer
    • Field Summary

      • Fields inherited from class org.neo4j.gds.api.GraphAdapter

        graph
      • Fields inherited from interface org.neo4j.gds.api.IdMap

        NOT_FOUND, START_NODE_ID
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.neo4j.gds.api.Graph concurrentCopy()  
      int degree​(long nodeId)  
      void forEachRelationship​(long node1, double fallbackValue, org.neo4j.gds.api.RelationshipWithPropertyConsumer consumer)  
      void forEachRelationship​(long node1, org.neo4j.gds.api.RelationshipConsumer consumer)  
      long relationshipCount()  
      • Methods inherited from class org.neo4j.gds.api.GraphAdapter

        addNodeIdToLabel, addNodeLabel, asNodeFilteredGraph, availableNodeLabels, availableNodeProperties, batchIterables, canRelease, characteristics, contains, degreeInverse, degreeWithoutParallelRelationships, exists, forEachInverseRelationship, forEachInverseRelationship, forEachNode, forEachNodeLabel, graph, hasLabel, hasRelationshipProperty, highestOriginalId, isMultiGraph, nodeCount, nodeCount, nodeIterator, nodeIterator, nodeLabels, nodeProperties, nthTarget, relationshipProperty, relationshipProperty, relationshipTypeFilteredGraph, release, releaseProperties, releaseTopology, rootIdMap, rootNodeCount, schema, streamRelationships, supportsInverseIteration, toMappedNodeId, toOriginalNodeId, toRootNodeId, withFilteredLabels
      • 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.api.Graph

        isEmpty
      • Methods inherited from interface org.neo4j.gds.api.IdMap

        safeToMappedNodeId
    • Method Detail

      • degree

        public int degree​(long nodeId)
        Specified by:
        degree in interface org.neo4j.gds.api.Degrees
        Overrides:
        degree in class org.neo4j.gds.api.GraphAdapter
      • relationshipCount

        public long relationshipCount()
        Specified by:
        relationshipCount in interface org.neo4j.gds.api.Graph
        Overrides:
        relationshipCount in class org.neo4j.gds.api.GraphAdapter
      • forEachRelationship

        public void forEachRelationship​(long node1,
                                        org.neo4j.gds.api.RelationshipConsumer consumer)
        Specified by:
        forEachRelationship in interface org.neo4j.gds.api.RelationshipIterator
        Overrides:
        forEachRelationship in class org.neo4j.gds.api.GraphAdapter
      • forEachRelationship

        public void forEachRelationship​(long node1,
                                        double fallbackValue,
                                        org.neo4j.gds.api.RelationshipWithPropertyConsumer consumer)
        Specified by:
        forEachRelationship in interface org.neo4j.gds.api.RelationshipIterator
        Overrides:
        forEachRelationship in class org.neo4j.gds.api.GraphAdapter
      • concurrentCopy

        public org.neo4j.gds.api.Graph concurrentCopy()