public static enum ExternalSortBatch.Metric extends Enum<ExternalSortBatch.Metric> implements MetricDef
| Enum Constant and Description |
|---|
MERGE_COUNT |
MIN_BUFFER |
NOT_USED |
PEAK_BATCHES_IN_MEMORY |
SPILL_COUNT |
SPILL_MB |
| Modifier and Type | Method and Description |
|---|---|
int |
metricId() |
static ExternalSortBatch.Metric |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExternalSortBatch.Metric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExternalSortBatch.Metric SPILL_COUNT
public static final ExternalSortBatch.Metric NOT_USED
public static final ExternalSortBatch.Metric PEAK_BATCHES_IN_MEMORY
public static final ExternalSortBatch.Metric MERGE_COUNT
public static final ExternalSortBatch.Metric MIN_BUFFER
public static final ExternalSortBatch.Metric SPILL_MB
public static ExternalSortBatch.Metric[] values()
for (ExternalSortBatch.Metric c : ExternalSortBatch.Metric.values()) System.out.println(c);
public static ExternalSortBatch.Metric valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017 The Apache Software Foundation. All rights reserved.