All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.neo4j.cypher.export.SubGraph Maven / Gradle / Ivy

There is a newer version: 5.25.1
Show newest version
package org.neo4j.cypher.export;

import apoc.util.collection.Iterables;
import org.apache.commons.collections4.CollectionUtils;
import org.neo4j.graphdb.Label;
import org.neo4j.graphdb.Node;
import org.neo4j.graphdb.Relationship;
import org.neo4j.graphdb.RelationshipType;
import org.neo4j.graphdb.schema.ConstraintDefinition;
import org.neo4j.graphdb.schema.IndexDefinition;
import org.neo4j.internal.kernel.api.TokenRead;

import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import java.util.stream.Stream;

import static java.util.stream.Collectors.toMap;

public interface SubGraph
{
    Iterable getNodes();

    Iterable getRelationships();

    Iterable getIndexes();

    Iterable getConstraints(Label label);

    Iterable getConstraints(RelationshipType type);

    Iterable getIndexes(Label label);

    Iterable getIndexes(RelationshipType label);

    Iterable getAllRelationshipTypesInUse();

    Iterable




© 2015 - 2024 Weber Informatics LLC | Privacy Policy