public class CompactionMetricsDataConverter extends Object
Constructor and Description |
---|
CompactionMetricsDataConverter() |
Modifier and Type | Method and Description |
---|---|
static CompactionMetricsDataStruct |
dataToStruct(CompactionMetricsData data) |
static CompactionMetricsMetricType |
dbCompactionMetricType2ThriftType(CompactionMetricsData.MetricType type) |
static CompactionMetricsData |
structToData(CompactionMetricsDataStruct struct) |
static CompactionMetricsData.MetricType |
thriftCompactionMetricType2DbType(CompactionMetricsMetricType type) |
public static CompactionMetricsDataStruct dataToStruct(CompactionMetricsData data) throws MetaException
MetaException
public static CompactionMetricsData structToData(CompactionMetricsDataStruct struct) throws MetaException
MetaException
public static CompactionMetricsMetricType dbCompactionMetricType2ThriftType(CompactionMetricsData.MetricType type) throws MetaException
MetaException
public static CompactionMetricsData.MetricType thriftCompactionMetricType2DbType(CompactionMetricsMetricType type) throws MetaException
MetaException
Copyright © 2022 The Apache Software Foundation. All rights reserved.