Skip to content

Commit 0b420df

Browse files
committed
implemented ConsolidationPolicy.toString()
1 parent 0c786de commit 0b420df

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

core/src/main/java/com/arangodb/entity/arangosearch/ConsolidationPolicy.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,17 @@ public boolean equals(Object o) {
141141
public int hashCode() {
142142
return Objects.hash(type, threshold, segmentsMin, segmentsMax, segmentsBytesMax, segmentsBytesFloor, minScore);
143143
}
144+
145+
@Override
146+
public String toString() {
147+
return "ConsolidationPolicy{" +
148+
"type=" + type +
149+
", threshold=" + threshold +
150+
", segmentsMin=" + segmentsMin +
151+
", segmentsMax=" + segmentsMax +
152+
", segmentsBytesMax=" + segmentsBytesMax +
153+
", segmentsBytesFloor=" + segmentsBytesFloor +
154+
", minScore=" + minScore +
155+
'}';
156+
}
144157
}

0 commit comments

Comments
 (0)