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
public abstract class QueryScopeInfo extends Object
Container for scope related information as required by the MetricQueryService.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueryScopeInfo.JobManagerOperatorQueryScopeInfoContainer for the job manager operator scope.static classQueryScopeInfo.JobManagerQueryScopeInfoContainer for the job manager scope.static classQueryScopeInfo.JobQueryScopeInfoContainer for the job scope.static classQueryScopeInfo.OperatorQueryScopeInfoContainer for the operator scope.static classQueryScopeInfo.TaskManagerQueryScopeInfoContainer for the task manager scope.static classQueryScopeInfo.TaskQueryScopeInfoContainer for the task scope.
-
Field Summary
Fields Modifier and Type Field Description static byteINFO_CATEGORY_JMCategories to be returned bygetCategory()to avoid instanceof checks.static byteINFO_CATEGORY_JM_OPERATORstatic byteINFO_CATEGORY_JOBstatic byteINFO_CATEGORY_OPERATORstatic byteINFO_CATEGORY_TASKstatic byteINFO_CATEGORY_TMStringscopeThe remaining scope not covered by specific fields.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected StringconcatScopes(String additionalScope)abstract QueryScopeInfocopy(String userScope)Create a copy of this QueryScopeInfo and append the given scope.abstract bytegetCategory()Returns the category for this QueryScopeInfo.StringtoString()
-
-
-
Field Detail
-
INFO_CATEGORY_JM
public static final byte INFO_CATEGORY_JM
Categories to be returned bygetCategory()to avoid instanceof checks.- See Also:
- Constant Field Values
-
INFO_CATEGORY_TM
public static final byte INFO_CATEGORY_TM
- See Also:
- Constant Field Values
-
INFO_CATEGORY_JOB
public static final byte INFO_CATEGORY_JOB
- See Also:
- Constant Field Values
-
INFO_CATEGORY_TASK
public static final byte INFO_CATEGORY_TASK
- See Also:
- Constant Field Values
-
INFO_CATEGORY_OPERATOR
public static final byte INFO_CATEGORY_OPERATOR
- See Also:
- Constant Field Values
-
INFO_CATEGORY_JM_OPERATOR
public static final byte INFO_CATEGORY_JM_OPERATOR
- See Also:
- Constant Field Values
-
scope
public final String scope
The remaining scope not covered by specific fields.
-
-
Method Detail
-
copy
public abstract QueryScopeInfo copy(String userScope)
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
-
-