apoc.generate.node.NodeCreator Maven / Gradle / Ivy
package apoc.generate.node;
import org.neo4j.graphdb.Node;
import org.neo4j.graphdb.Transaction;
/**
* A component creating {@link Node}s with labels and properties.
*/
public interface NodeCreator {
/**
* Create a node with labels and properties.
*
* @param tx to create the node in.
* @return created node.
*/
Node createNode(Transaction tx);
}