public class OperatorScopeFormat extends ScopeFormat
OperatorMetricGroup
.SCOPE_HOST, SCOPE_INHERIT_PARENT, SCOPE_JOB_ID, SCOPE_JOB_NAME, SCOPE_OPERATOR_ID, SCOPE_OPERATOR_NAME, SCOPE_SEPARATOR, SCOPE_TASK_ATTEMPT_ID, SCOPE_TASK_ATTEMPT_NUM, SCOPE_TASK_NAME, SCOPE_TASK_SUBTASK_INDEX, SCOPE_TASK_VERTEX_ID, SCOPE_TASKMANAGER_ID
Constructor and Description |
---|
OperatorScopeFormat(String format,
TaskScopeFormat parentFormat) |
Modifier and Type | Method and Description |
---|---|
String[] |
formatScope(TaskMetricGroup parent,
OperatorID operatorID,
String operatorName) |
arrayToMap, asVariable, bindVariables, concat, concat, concat, concat, copyTemplate, format, toString, valueOrNull
public OperatorScopeFormat(String format, TaskScopeFormat parentFormat)
public String[] formatScope(TaskMetricGroup parent, OperatorID operatorID, String operatorName)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.