public class BenchmarkUtils extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.paimon.shade.jackson2.com.fasterxml.jackson.databind.ObjectMapper |
JSON_MAPPER |
static NumberFormat |
NUMBER_FORMAT |
static org.apache.paimon.shade.jackson2.com.fasterxml.jackson.databind.ObjectMapper |
YAML_MAPPER |
Constructor and Description |
---|
BenchmarkUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
formatDataFreshness(Long dataFreshness) |
static String |
formatDoubleValue(double value) |
static String |
formatLongValue(long value) |
static String |
formatLongValuePerSecond(long value) |
static void |
printAndLog(org.slf4j.Logger logger,
String message) |
public static final org.apache.paimon.shade.jackson2.com.fasterxml.jackson.databind.ObjectMapper JSON_MAPPER
public static final org.apache.paimon.shade.jackson2.com.fasterxml.jackson.databind.ObjectMapper YAML_MAPPER
public static final NumberFormat NUMBER_FORMAT
public static String formatLongValuePerSecond(long value)
public static String formatLongValue(long value)
public static String formatDoubleValue(double value)
public static void printAndLog(org.slf4j.Logger logger, String message)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.