From 6aa70194fb48a0c6f4d864ed6e000ba87744c6c3 Mon Sep 17 00:00:00 2001 From: lipanpan03 <656461146@qq.com> Date: Thu, 6 Jun 2024 16:37:59 +0800 Subject: [PATCH] add cypher result interface --- .../java/com/antgroup/tugraph/TuGraphDbRpcClientTest.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rpc-client-test/src/main/java/com/antgroup/tugraph/TuGraphDbRpcClientTest.java b/rpc-client-test/src/main/java/com/antgroup/tugraph/TuGraphDbRpcClientTest.java index 45f4f67..9dfc8db 100644 --- a/rpc-client-test/src/main/java/com/antgroup/tugraph/TuGraphDbRpcClientTest.java +++ b/rpc-client-test/src/main/java/com/antgroup/tugraph/TuGraphDbRpcClientTest.java @@ -5,7 +5,6 @@ import org.slf4j.LoggerFactory; import java.io.IOException; -import java.util.ArrayList; public class TuGraphDbRpcClientTest { static Logger log = LoggerFactory.getLogger(TuGraphDbRpcClientTest.class); @@ -15,11 +14,13 @@ public static void deleteProcedure(TuGraphDbRpcClient client) { log.info("----------------testDeleteProcedure--------------------"); try { boolean result = client.deleteProcedure("CPP", "sortstr", "default"); - log.info("deleteProcedure : " + result); + log.info("deleteProcedure sortstr : " + result); assert (result); // should throw TuGraphDbRpcException result = client.deleteProcedure("CPP", "scan_graph", "default"); - log.info("loadProcedure : " + result); + log.info("deleteProcedure scan_graph : " + result); + result = client.deleteProcedure("CPP", "multi_file", "default"); + log.info("deleteProcedure multi_file : " + result); } catch (Exception e) { log.info("catch Exception : " + e.getMessage()); }