From d38efd6b4fe40d7a16fb807e3a8d3846a586589f Mon Sep 17 00:00:00 2001 From: Hishida Masato Date: Tue, 6 Aug 2024 16:42:50 +0900 Subject: [PATCH] chore: TgResultCount: Added toString() --- .../java/com/tsurugidb/iceaxe/sql/result/TgResultCount.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/iceaxe-core/src/main/java/com/tsurugidb/iceaxe/sql/result/TgResultCount.java b/modules/iceaxe-core/src/main/java/com/tsurugidb/iceaxe/sql/result/TgResultCount.java index d3e95288..68e1bea5 100755 --- a/modules/iceaxe-core/src/main/java/com/tsurugidb/iceaxe/sql/result/TgResultCount.java +++ b/modules/iceaxe-core/src/main/java/com/tsurugidb/iceaxe/sql/result/TgResultCount.java @@ -101,4 +101,9 @@ public long getCount(CounterType lowCounterType) { var counterMap = getLowCounterMap(); return counterMap.getOrDefault(lowCounterType, 0L); } + + @Override + public String toString() { + return getClass().getSimpleName() + getLowCounterMap(); + } }