print readable tags
This commit is contained in:
@@ -58,7 +58,9 @@ public class Doc {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "Doc [partitionId=" + partitionId + ", tags=" + tags + ", rootBlockNumber=" + rootBlockNumber + "]";
|
|
||||||
|
return "Doc [partitionId=" + partitionId + ", tags=" + Tags.STRING_COMPRESSOR.asString(tags)
|
||||||
|
+ ", rootBlockNumber=" + rootBlockNumber + "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,7 +37,8 @@ public class Entry {
|
|||||||
public String toString() {
|
public String toString() {
|
||||||
|
|
||||||
final OffsetDateTime date = Instant.ofEpochMilli(epochMilli).atOffset(ZoneOffset.UTC);
|
final OffsetDateTime date = Instant.ofEpochMilli(epochMilli).atOffset(ZoneOffset.UTC);
|
||||||
return date.format(DateTimeFormatter.ISO_ZONED_DATE_TIME) + " = " + value + " (" + tags + ")";
|
return date.format(DateTimeFormatter.ISO_ZONED_DATE_TIME) + " = " + value + " ("
|
||||||
|
+ Tags.STRING_COMPRESSOR.asString(tags) + ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user