使用的java客户端版本:
com.vesoft
client
2.0.0-rc1
在graph层有连接池,直接使用,其中:
com.vesoft.nebula.client.graph.net.Session
只有一个执行查询的方法:
/**
* Execute the query sentence.
*
* @param stmt The query sentence.
* @return The ResultSet.
*/
public ResultSet execute(String stmt) throws IOErrorException, UnsupportedEncodingException {
再无其他执行方法,请问一下为啥nebula-java 2.0的Session只有执行查询的方法,没有执行写入的方法,是封装在另外的类了吗?在哪里呢?应该如何执行更新操作?