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

apoc.export.util.MapSubGraph Maven / Gradle / Ivy

There is a newer version: 4.4.0.35
Show newest version
package apoc.export.util;

import org.neo4j.cypher.export.SubGraph;
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.ConstraintType;
import org.neo4j.graphdb.schema.IndexDefinition;

import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;
import java.util.stream.StreamSupport;


public class MapSubGraph implements SubGraph {

    public static class MapIndexDefinition implements IndexDefinition {
        private final Label label;
        private final Collection




© 2015 - 2025 Weber Informatics LLC | Privacy Policy