You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
568 B
Java
32 lines
568 B
Java
2 months ago
|
package com.supervision.pdfqaserver.service;
|
||
|
|
||
|
import com.supervision.pdfqaserver.dto.EREDTO;
|
||
|
|
||
|
/**
|
||
|
* 三元组转换为Cypher语句的执行器
|
||
|
*/
|
||
|
public interface TripleToCypherExecutor {
|
||
|
|
||
|
/**
|
||
|
* 生成Cypher语句
|
||
|
* @param eredto
|
||
|
* @return
|
||
|
*/
|
||
|
String generateInsertCypher(EREDTO eredto);
|
||
|
|
||
|
|
||
|
/**
|
||
|
* 生成查询Cypher语句
|
||
|
* @param query
|
||
|
* @return
|
||
|
*/
|
||
|
String generateQueryCypher(String query);
|
||
|
|
||
|
/**
|
||
|
* 执行Cypher语句
|
||
|
* @param cypher
|
||
|
* @return
|
||
|
*/
|
||
|
void executeCypher(String cypher);
|
||
|
}
|