public class MultiStatementCypherCompiler extends Object implements Compiler
| Constructor and Description |
|---|
MultiStatementCypherCompiler() |
| Modifier and Type | Method and Description |
|---|---|
CompileContext |
context() |
List<Statement> |
createNodesStatements() |
List<Statement> |
createRelationshipsStatements() |
List<Statement> |
deleteRelationshipEntityStatements() |
List<Statement> |
deleteRelationshipStatements() |
NodeBuilder |
existingNode(Long existingNodeId) |
RelationshipBuilder |
existingRelationship(Long existingRelationshipId,
String type) |
List<Statement> |
getAllStatements() |
boolean |
hasStatementsDependentOnNewNodes() |
NodeBuilder |
newNode(Long id) |
RelationshipBuilder |
newRelationship(String type) |
RelationshipBuilder |
newRelationship(String type,
boolean bidirectional) |
void |
unmap(NodeBuilder nodeBuilder) |
void |
unrelate(Long startNode,
String relationshipType,
Long endNode,
Long relId) |
List<Statement> |
updateNodesStatements() |
List<Statement> |
updateRelationshipStatements() |
void |
useStatementFactory(StatementFactory statementFactory) |
public NodeBuilder newNode(Long id)
public RelationshipBuilder newRelationship(String type, boolean bidirectional)
newRelationship in interface Compilerpublic RelationshipBuilder newRelationship(String type)
newRelationship in interface Compilerpublic NodeBuilder existingNode(Long existingNodeId)
existingNode in interface Compilerpublic RelationshipBuilder existingRelationship(Long existingRelationshipId, String type)
existingRelationship in interface Compilerpublic void unmap(NodeBuilder nodeBuilder)
public List<Statement> createNodesStatements()
createNodesStatements in interface Compilerpublic List<Statement> createRelationshipsStatements()
createRelationshipsStatements in interface Compilerpublic List<Statement> updateNodesStatements()
updateNodesStatements in interface Compilerpublic List<Statement> updateRelationshipStatements()
updateRelationshipStatements in interface Compilerpublic List<Statement> deleteRelationshipStatements()
deleteRelationshipStatements in interface Compilerpublic List<Statement> deleteRelationshipEntityStatements()
deleteRelationshipEntityStatements in interface Compilerpublic List<Statement> getAllStatements()
getAllStatements in interface Compilerpublic CompileContext context()
public boolean hasStatementsDependentOnNewNodes()
hasStatementsDependentOnNewNodes in interface Compilerpublic void useStatementFactory(StatementFactory statementFactory)
useStatementFactory in interface CompilerCopyright © 2017 Neo Technology, Inc.. All rights reserved.