Interface GraphStore

    • Method Detail

      • databaseId

        org.neo4j.kernel.database.NamedDatabaseId databaseId()
      • schema

        org.neo4j.gds.api.schema.GraphSchema schema()
      • modificationTime

        java.time.ZonedDateTime modificationTime()
      • graphPropertyKeys

        java.util.Set<java.lang.String> graphPropertyKeys()
      • hasGraphProperty

        boolean hasGraphProperty​(java.lang.String propertyKey)
      • graphProperty

        GraphProperty graphProperty​(java.lang.String propertyKey)
      • graphPropertyType

        org.neo4j.gds.api.nodeproperties.ValueType graphPropertyType​(java.lang.String propertyKey)
      • graphPropertyValues

        GraphPropertyValues graphPropertyValues​(java.lang.String propertyKey)
      • addGraphProperty

        void addGraphProperty​(java.lang.String propertyKey,
                              GraphPropertyValues propertyValues)
      • removeGraphProperty

        void removeGraphProperty​(java.lang.String propertyKey)
      • nodeCount

        long nodeCount()
      • nodeLabels

        java.util.Set<org.neo4j.gds.NodeLabel> nodeLabels()
      • nodePropertyKeys

        java.util.Set<java.lang.String> nodePropertyKeys​(org.neo4j.gds.NodeLabel label)
      • nodePropertyKeys

        java.util.Set<java.lang.String> nodePropertyKeys()
      • hasNodeProperty

        boolean hasNodeProperty​(java.lang.String propertyKey)
      • hasNodeProperty

        boolean hasNodeProperty​(org.neo4j.gds.NodeLabel label,
                                java.lang.String propertyKey)
      • hasNodeProperty

        boolean hasNodeProperty​(java.util.Collection<org.neo4j.gds.NodeLabel> labels,
                                java.lang.String propertyKey)
      • nodePropertyKeys

        default java.util.Collection<java.lang.String> nodePropertyKeys​(java.util.Collection<org.neo4j.gds.NodeLabel> labels)
      • nodeProperty

        NodeProperty nodeProperty​(java.lang.String propertyKey)
      • addNodeProperty

        void addNodeProperty​(java.util.Set<org.neo4j.gds.NodeLabel> nodeLabels,
                             java.lang.String propertyKey,
                             NodePropertyValues propertyValues)
      • removeNodeProperty

        void removeNodeProperty​(java.lang.String propertyKey)
      • relationshipCount

        long relationshipCount()
      • relationshipCount

        long relationshipCount​(org.neo4j.gds.RelationshipType relationshipType)
      • relationshipTypes

        java.util.Set<org.neo4j.gds.RelationshipType> relationshipTypes()
      • hasRelationshipType

        boolean hasRelationshipType​(org.neo4j.gds.RelationshipType relationshipType)
      • hasRelationshipProperty

        boolean hasRelationshipProperty​(org.neo4j.gds.RelationshipType relType,
                                        java.lang.String propertyKey)
      • relationshipPropertyKeys

        default java.util.Collection<java.lang.String> relationshipPropertyKeys​(java.util.Collection<org.neo4j.gds.RelationshipType> relTypes)
      • relationshipPropertyType

        org.neo4j.gds.api.nodeproperties.ValueType relationshipPropertyType​(java.lang.String propertyKey)
      • relationshipPropertyKeys

        java.util.Set<java.lang.String> relationshipPropertyKeys()
      • relationshipPropertyKeys

        java.util.Set<java.lang.String> relationshipPropertyKeys​(org.neo4j.gds.RelationshipType relationshipType)
      • relationshipPropertyValues

        RelationshipProperty relationshipPropertyValues​(org.neo4j.gds.RelationshipType relationshipType,
                                                        java.lang.String propertyKey)
      • addRelationshipType

        void addRelationshipType​(org.neo4j.gds.RelationshipType relationshipType,
                                 java.util.Optional<java.lang.String> relationshipPropertyKey,
                                 java.util.Optional<org.neo4j.values.storable.NumberType> relationshipPropertyType,
                                 Relationships relationships)
      • deleteRelationships

        DeletionResult deleteRelationships​(org.neo4j.gds.RelationshipType relationshipType)
      • getGraph

        default Graph getGraph​(org.neo4j.gds.RelationshipType... relationshipType)
      • getGraph

        default Graph getGraph​(java.lang.String relationshipProperty)
      • getGraph

        default Graph getGraph​(org.neo4j.gds.RelationshipType relationshipType,
                               java.util.Optional<java.lang.String> relationshipProperty)
      • getGraph

        default Graph getGraph​(java.util.Collection<org.neo4j.gds.RelationshipType> relationshipTypes,
                               java.util.Optional<java.lang.String> maybeRelationshipProperty)
      • getGraph

        default Graph getGraph​(java.lang.String nodeLabel,
                               java.lang.String relationshipType,
                               java.util.Optional<java.lang.String> maybeRelationshipProperty)
      • getGraph

        default Graph getGraph​(org.neo4j.gds.NodeLabel nodeLabel)
        Returns a graph containing only nodes with the given node label and no relationships.
        Parameters:
        nodeLabel - node label filter
        Returns:
        a node-only graph
      • getGraph

        Graph getGraph​(java.util.Collection<org.neo4j.gds.NodeLabel> nodeLabels)
        Returns a graph containing only nodes with the given node labels and no relationships.
        Parameters:
        nodeLabels - node label filter
        Returns:
        a node-only graph
      • getGraph

        default Graph getGraph​(org.neo4j.gds.NodeLabel nodeLabel,
                               org.neo4j.gds.RelationshipType relationshipType,
                               java.util.Optional<java.lang.String> maybeRelationshipProperty)
      • getGraph

        Graph getGraph​(java.util.Collection<org.neo4j.gds.NodeLabel> nodeLabels,
                       java.util.Collection<org.neo4j.gds.RelationshipType> relationshipTypes,
                       java.util.Optional<java.lang.String> maybeRelationshipProperty)
      • getUnion

        Graph getUnion()
      • getCompositeRelationshipIterator

        CompositeRelationshipIterator getCompositeRelationshipIterator​(org.neo4j.gds.RelationshipType relationshipType,
                                                                       java.util.List<java.lang.String> propertyKeys)
      • canRelease

        void canRelease​(boolean canRelease)
      • release

        void release()