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

apoc.export.cypher.formatter.CypherFormatter Maven / Gradle / Ivy

There is a newer version: 5.25.1
Show newest version
package apoc.export.cypher.formatter;

import apoc.export.util.ExportConfig;
import apoc.export.util.Reporter;
import org.neo4j.graphdb.*;

import java.io.PrintWriter;
import java.util.Map;
import java.util.Set;

/**
 * @author AgileLARUS
 *
 * @since 16-06-2017
 */
public interface CypherFormatter {

	String statementForNode(Node node, Map> uniqueConstraints, Set indexedProperties, Set indexNames);

	String statementForRelationship(Relationship relationship, Map> uniqueConstraints, Set indexedProperties, ExportConfig exportConfig);

	String statementForNodeIndex(String indexType, String label, Iterable keys, boolean ifNotExist, String idxName);

	String statementForIndexRelationship(String indexType, String type, Iterable keys, boolean ifNotExist, String idxName);

	String statementForNodeFullTextIndex(String name, Iterable




© 2015 - 2024 Weber Informatics LLC | Privacy Policy