public abstract class QueryScopeInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
QueryScopeInfo.JobManagerQueryScopeInfo
Container for the job manager scope.
|
static class |
QueryScopeInfo.JobQueryScopeInfo
Container for the job scope.
|
static class |
QueryScopeInfo.OperatorQueryScopeInfo
Container for the operator scope.
|
static class |
QueryScopeInfo.TaskManagerQueryScopeInfo
Container for the task manager scope.
|
static class |
QueryScopeInfo.TaskQueryScopeInfo
Container for the task scope.
|
Modifier and Type | Field and Description |
---|---|
static byte |
INFO_CATEGORY_JM
Categories to be returned by
getCategory() to avoid instanceof checks. |
static byte |
INFO_CATEGORY_JOB |
static byte |
INFO_CATEGORY_OPERATOR |
static byte |
INFO_CATEGORY_TASK |
static byte |
INFO_CATEGORY_TM |
String |
scope
The remaining scope not covered by specific fields.
|
Modifier and Type | Method and Description |
---|---|
protected String |
concatScopes(String additionalScope) |
abstract QueryScopeInfo |
copy(String userScope)
Create a copy of this QueryScopeInfo and append the given scope.
|
abstract byte |
getCategory()
Returns the category for this QueryScopeInfo.
|
String |
toString() |
public static final byte INFO_CATEGORY_JM
getCategory()
to avoid instanceof checks.public static final byte INFO_CATEGORY_TM
public static final byte INFO_CATEGORY_JOB
public static final byte INFO_CATEGORY_TASK
public static final byte INFO_CATEGORY_OPERATOR
public final String scope
public abstract QueryScopeInfo copy(String userScope)
userScope
- scope to appendpublic abstract byte getCategory()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.