Class QueryScopeInfo
java.lang.Object
org.apache.flink.runtime.metrics.dump.QueryScopeInfo
- Direct Known Subclasses:
QueryScopeInfo.JobManagerOperatorQueryScopeInfo,QueryScopeInfo.JobManagerQueryScopeInfo,QueryScopeInfo.JobQueryScopeInfo,QueryScopeInfo.OperatorQueryScopeInfo,QueryScopeInfo.TaskManagerQueryScopeInfo,QueryScopeInfo.TaskQueryScopeInfo
Container for scope related information as required by the MetricQueryService.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classContainer for the job manager operator scope.static classContainer for the job manager scope.static classContainer for the job scope.static classContainer for the operator scope.static classContainer for the task manager scope.static classContainer for the task scope. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byteCategories to be returned bygetCategory()to avoid instanceof checks.static final bytestatic final bytestatic final bytestatic final bytestatic final bytefinal StringThe remaining scope not covered by specific fields. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringconcatScopes(String additionalScope) abstract QueryScopeInfoCreate a copy of this QueryScopeInfo and append the given scope.abstract byteReturns the category for this QueryScopeInfo.toString()
-
Field Details
-
INFO_CATEGORY_JM
public static final byte INFO_CATEGORY_JMCategories to be returned bygetCategory()to avoid instanceof checks.- See Also:
-
INFO_CATEGORY_TM
public static final byte INFO_CATEGORY_TM- See Also:
-
INFO_CATEGORY_JOB
public static final byte INFO_CATEGORY_JOB- See Also:
-
INFO_CATEGORY_TASK
public static final byte INFO_CATEGORY_TASK- See Also:
-
INFO_CATEGORY_OPERATOR
public static final byte INFO_CATEGORY_OPERATOR- See Also:
-
INFO_CATEGORY_JM_OPERATOR
public static final byte INFO_CATEGORY_JM_OPERATOR- See Also:
-
scope
The remaining scope not covered by specific fields.
-
-
Method Details
-
copy
Create a copy of this QueryScopeInfo and append the given scope.- Parameters:
userScope- scope to append- Returns:
- modified copy of this QueryScopeInfo
-
getCategory
public abstract byte getCategory()Returns the category for this QueryScopeInfo.- Returns:
- category
-
toString
-
concatScopes
-