presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/metadata/ShardMetadata.java/ShardMetadata/toString
class ShardMetadata:    @Override
    public String toString()
    {
        ToStringHelper stringHelper = toStringHelper(this)
                .add("tableId", tableId)
                .add("shardId", shardId)
                .add("shardUuid", shardUuid)
                .add("rowCount", rowCount)
                .add("compressedSize", DataSize.succinctBytes(compressedSize))
                .add("uncompressedSize", DataSize.succinctBytes(uncompressedSize));

        if (bucketNumber.isPresent()) {
            stringHelper.add("bucketNumber", bucketNumber.getAsInt());
        }
        if (xxhash64.isPresent()) {
            stringHelper.add("xxhash64", format("%16x", xxhash64.getAsLong()));
        }
        if (rangeStart.isPresent()) {
            stringHelper.add("rangeStart", rangeStart.getAsLong());
        }
        if (rangeEnd.isPresent()) {
            stringHelper.add("rangeEnd", rangeEnd.getAsLong());
        }
        return stringHelper.toString();
    }