public static enum ExternalSortBatch.Metric extends Enum<ExternalSortBatch.Metric> implements MetricDef
| Enum Constant and Description |
|---|
MERGE_COUNT
The number of second+ generation merges.
|
MIN_BUFFER
The minimum memory level (in bytes) observed in operation.
|
NOT_USED
Was: peak value for totalSizeInMemory
But operator already provides this value.
|
PEAK_BATCHES_IN_MEMORY
The maximum number of batches kept in memory.
|
SPILL_COUNT
The number of times operator spilled to disk.
|
SPILL_MB
The number of MB of data spilled to disk.
|
| 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 © 2021 The Apache Software Foundation. All rights reserved.