Class CypherGraphStore

  • All Implemented Interfaces:
    org.neo4j.gds.api.GraphStore, org.neo4j.gds.api.GraphStoreWrapper, NodeLabelUpdater

    public class CypherGraphStore
    extends org.neo4j.gds.api.GraphStoreAdapter
    implements NodeLabelUpdater
    • Constructor Summary

      Constructors 
      Constructor Description
      CypherGraphStore​(org.neo4j.gds.api.GraphStore graphStore)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addLabelToNode​(long nodeId, org.neo4j.gds.NodeLabel nodeLabel)  
      void addNodeLabel​(org.neo4j.gds.NodeLabel nodeLabel)  
      void addNodeProperty​(java.util.Set<org.neo4j.gds.NodeLabel> nodeLabels, java.lang.String propertyKey, org.neo4j.gds.api.properties.nodes.NodePropertyValues propertyValues)  
      void addRelationshipType​(org.neo4j.gds.core.loading.SingleTypeRelationships relationships)  
      org.neo4j.gds.core.loading.Capabilities capabilities()  
      void initialize​(org.neo4j.token.TokenHolders tokenHolders)  
      java.util.Set<org.neo4j.gds.NodeLabel> nodeLabels()  
      org.neo4j.gds.api.IdMap nodes()  
      void registerStateVisitor​(CypherGraphStore.StateVisitor stateVisitor)  
      RelationshipIds relationshipIds()  
      void removeLabelFromNode​(long nodeId, org.neo4j.gds.NodeLabel nodeLabel)  
      void removeNodeProperty​(java.lang.String propertyKey)  
      • Methods inherited from class org.neo4j.gds.api.GraphStoreAdapter

        addGraphProperty, addInverseIndex, databaseInfo, deleteRelationships, getCompositeRelationshipIterator, getGraph, getGraph, getGraph, getGraph, getGraph, getGraph, getGraph, getGraph, getGraph, getUnion, graphProperty, graphPropertyKeys, graphPropertyType, graphPropertyValues, hasGraphProperty, hasNodeProperty, hasNodeProperty, hasNodeProperty, hasRelationshipProperty, hasRelationshipType, innerGraphStore, inverseIndexedRelationshipTypes, modificationTime, nodeCount, nodeProperty, nodePropertyKeys, nodePropertyKeys, nodePropertyKeys, relationshipCount, relationshipCount, relationshipPropertyKeys, relationshipPropertyKeys, relationshipPropertyKeys, relationshipPropertyType, relationshipPropertyValues, relationshipTypes, removeGraphProperty, schema
      • Methods inherited from class java.lang.Object

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

      • CypherGraphStore

        public CypherGraphStore​(org.neo4j.gds.api.GraphStore graphStore)
    • Method Detail

      • initialize

        public void initialize​(org.neo4j.token.TokenHolders tokenHolders)
      • capabilities

        public org.neo4j.gds.core.loading.Capabilities capabilities()
        Specified by:
        capabilities in interface org.neo4j.gds.api.GraphStore
        Overrides:
        capabilities in class org.neo4j.gds.api.GraphStoreAdapter
      • nodes

        public org.neo4j.gds.api.IdMap nodes()
        Specified by:
        nodes in interface org.neo4j.gds.api.GraphStore
        Overrides:
        nodes in class org.neo4j.gds.api.GraphStoreAdapter
      • addNodeLabel

        public void addNodeLabel​(org.neo4j.gds.NodeLabel nodeLabel)
        Specified by:
        addNodeLabel in interface org.neo4j.gds.api.GraphStore
        Specified by:
        addNodeLabel in interface NodeLabelUpdater
        Overrides:
        addNodeLabel in class org.neo4j.gds.api.GraphStoreAdapter
      • 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()
        Specified by:
        nodeLabels in interface org.neo4j.gds.api.GraphStore
        Overrides:
        nodeLabels in class org.neo4j.gds.api.GraphStoreAdapter
      • removeNodeProperty

        public void removeNodeProperty​(java.lang.String propertyKey)
        Specified by:
        removeNodeProperty in interface org.neo4j.gds.api.GraphStore
        Overrides:
        removeNodeProperty in class org.neo4j.gds.api.GraphStoreAdapter
      • addNodeProperty

        public void addNodeProperty​(java.util.Set<org.neo4j.gds.NodeLabel> nodeLabels,
                                    java.lang.String propertyKey,
                                    org.neo4j.gds.api.properties.nodes.NodePropertyValues propertyValues)
        Specified by:
        addNodeProperty in interface org.neo4j.gds.api.GraphStore
        Overrides:
        addNodeProperty in class org.neo4j.gds.api.GraphStoreAdapter
      • addRelationshipType

        public void addRelationshipType​(org.neo4j.gds.core.loading.SingleTypeRelationships relationships)
        Specified by:
        addRelationshipType in interface org.neo4j.gds.api.GraphStore
        Overrides:
        addRelationshipType in class org.neo4j.gds.api.GraphStoreAdapter