public static final String |
createEdgeStatementTemplate |
"MATCH (s:`<s_type>` {id: \'<s_id>\'}),(d:`<d_type>` {id: \'<d_id>\'}) CREATE UNIQUE (s)-[r:`<r_type>` <r_props>]->(d) RETURN r" |
public static final String |
createVertexStatementTemplate |
"MATCH (x {id: \'<id>\'}) CREATE UNIQUE (v:`<type>` { props }) ON CREATE SET v <labels> RETURN v" |
public static final String |
getVertexLongIdStatementTemplate |
"MATCH (v) WHERE ID(v) = <id> RETURN v" |
public static final String |
getVertexStringIdStatementTemplate |
"MATCH (v {id: \'<id>\'} ) RETURN v" |
public static final String |
getVerticesLabelIdStatementTemplate |
"MATCH (v:<type>) RETURN v" |
public static final String |
mergeVertexStatementTemplate |
"MERGE (v:`<type>` {id: \'<id>\'}) ON CREATE SET v <labels>, v = { props }, v.`@timestamp` = timestamp() ON MATCH SET v <labels>, v = { props }, v.`@timestamp` = timestamp() RETURN v" |