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

apoc.generate.relationship.RelationshipCreator Maven / Gradle / Ivy

package apoc.generate.relationship;

import org.neo4j.graphdb.Node;
import org.neo4j.graphdb.Relationship;

/**
 * A component creating {@link Relationship}s with properties.
 */
public interface RelationshipCreator {

    /**
     * Create a relationship between two nodes with properties.
     *
     * @param first  first node.
     * @param second second node.
     * @return created relationship.
     */
    Relationship createRelationship(Node first, Node second);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy