imbajin commented on code in PR #2347:
URL: 
https://github.com/apache/incubator-hugegraph/pull/2347#discussion_r1388991134


##########
hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/metrics/SlowQueryLog.java:
##########
@@ -19,25 +19,36 @@
 
 public class SlowQueryLog {
 
-    public Long executeTime;
+    public long executeTime;
 
-    public Long startTime;
+    public long startTime;
 
     public String rawQuery;
 
     public String method;
 
-    public Long threshold;
+    public long threshold;
 
     public String path;
 
-    public SlowQueryLog(Long executeTime, Long startTime, String rawQuery, 
String method, Long threshold,
-                        String path) {
+    public SlowQueryLog(long executeTime, long startTime, String rawQuery, 
String method,
+                        long threshold, String path) {
         this.executeTime = executeTime;
         this.startTime = startTime;
         this.rawQuery = rawQuery;
         this.method = method;
         this.threshold = threshold;
         this.path = path;
     }
+
+    @Override
+    public String toString() {
+        return "SlowQueryLog{executeTime=" + executeTime +
+               ", startTime=" + startTime +
+               ", rawQuery='" + rawQuery + '\'' +
+               ", method='" + method + '\'' +
+               ", threshold=" + threshold +
+               ", path='" + path + '\'' +
+               '}';
+    }

Review Comment:
   no need to use this class now, just reserve it



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to