Class CypherNodeMapping

  • All Implemented Interfaces:
    org.neo4j.gds.api.BatchNodeIterable, org.neo4j.gds.api.IdMapping, org.neo4j.gds.api.NodeIterator, org.neo4j.gds.api.NodeMapping, NodeLabelUpdater

    public class CypherNodeMapping
    extends NodeMappingAdapter
    implements NodeLabelUpdater
    • Nested Class Summary

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

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

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

      • Fields inherited from interface org.neo4j.gds.api.IdMapping

        START_NODE_ID
      • Fields inherited from interface org.neo4j.gds.api.NodeMapping

        NOT_FOUND
    • Method Detail

      • addLabelToNode

        public void addLabelToNode​(long nodeId,
                                   org.neo4j.gds.NodeLabel nodeLabel)
        Specified by:
        addLabelToNode in interface NodeLabelUpdater
      • nodeLabels

        public java.util.Set<org.neo4j.gds.NodeLabel> nodeLabels​(long nodeId)
        Specified by:
        nodeLabels in interface org.neo4j.gds.api.NodeMapping
        Overrides:
        nodeLabels in class NodeMappingAdapter
      • forEachNodeLabel

        public void forEachNodeLabel​(long nodeId,
                                     org.neo4j.gds.api.NodeMapping.NodeLabelConsumer consumer)
        Specified by:
        forEachNodeLabel in interface org.neo4j.gds.api.NodeMapping
        Overrides:
        forEachNodeLabel in class NodeMappingAdapter
      • availableNodeLabels

        public java.util.Set<org.neo4j.gds.NodeLabel> availableNodeLabels()
        Specified by:
        availableNodeLabels in interface org.neo4j.gds.api.NodeMapping
        Overrides:
        availableNodeLabels in class NodeMappingAdapter
      • hasLabel

        public boolean hasLabel​(long nodeId,
                                org.neo4j.gds.NodeLabel nodeLabel)
        Specified by:
        hasLabel in interface org.neo4j.gds.api.NodeMapping
        Overrides:
        hasLabel in class NodeMappingAdapter