public class NewBiDirectionalRelationshipBuilder extends RelationshipBuilder
endNodeIdentifier, id, reference, startNodeIdentifier, type| Constructor and Description |
|---|
NewBiDirectionalRelationshipBuilder(String reference1,
String otherReference) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
emit(StringBuilder queryBuilder,
Map<String,Object> parameters,
Set<String> varStack)
Emits one or more Cypher clauses.
|
boolean |
isNew() |
void |
relate(String startNodeIdentifier,
String endNodeIdentifier) |
addProperty, compareTo, direction, getId, getReference, getType, hasDirection, isSingleton, setId, setSingleton, toString, typepublic void relate(String startNodeIdentifier, String endNodeIdentifier)
relate in class RelationshipBuilderpublic boolean isNew()
isNew in class RelationshipBuilderpublic boolean emit(StringBuilder queryBuilder, Map<String,Object> parameters, Set<String> varStack)
CypherEmitterqueryBuilder - The StringBuilder to which the Cypher should be appendedparameters - A Map to which Cypher parameter values may optionally be added as the query is built upvarStack - The variable stack carried through the query, to which this emitter's variable name may be addedCopyright © 2015 Neo Technology, Inc.. All rights reserved.