public class ShowResourceGroupsRequest extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.showResourceGroups
.
Requests resource group properties. Returns detailed information about the requested resource groups.
Modifier and Type | Class and Description |
---|---|
static class |
ShowResourceGroupsRequest.Options
A set of string constants for the
ShowResourceGroupsRequest
parameter options . |
Constructor and Description |
---|
ShowResourceGroupsRequest()
Constructs a ShowResourceGroupsRequest object with default parameters.
|
ShowResourceGroupsRequest(List<String> names,
Map<String,String> options)
Constructs a ShowResourceGroupsRequest object with the specified
parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
get(int index)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
List<String> |
getNames()
List of names of groups to be shown.
|
Map<String,String> |
getOptions()
Optional parameters.
|
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
int |
hashCode() |
void |
put(int index,
Object value)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
ShowResourceGroupsRequest |
setNames(List<String> names)
List of names of groups to be shown.
|
ShowResourceGroupsRequest |
setOptions(Map<String,String> options)
Optional parameters.
|
String |
toString() |
public ShowResourceGroupsRequest()
public ShowResourceGroupsRequest(List<String> names, Map<String,String> options)
names
- List of names of groups to be shown. A single entry with
an empty string returns all groups.options
- Optional parameters.
SHOW_DEFAULT_VALUES
: If TRUE
include values of fields that are based on
the default resource group.
Supported values:
The default value is TRUE
.
SHOW_DEFAULT_GROUP
: If TRUE
include the default and system resource
groups in the response. This value defaults to
false if an explicit list of group names is
provided, and true otherwise.
Supported values:
The default value is TRUE
.
SHOW_TIER_USAGE
:
If TRUE
include the
resource group usage on the worker ranks in the
response.
Supported values:
The default value is FALSE
.
Map
.public static org.apache.avro.Schema getClassSchema()
public List<String> getNames()
names
.public ShowResourceGroupsRequest setNames(List<String> names)
names
- The new value for names
.this
to mimic the builder pattern.public Map<String,String> getOptions()
SHOW_DEFAULT_VALUES
: If
TRUE
include values of fields that are
based on the default resource group.
Supported values:
The default value is TRUE
.
SHOW_DEFAULT_GROUP
: If TRUE
include the default and system resource
groups in the response. This value defaults to false if an
explicit list of group names is provided, and true otherwise.
Supported values:
The default value is TRUE
.
SHOW_TIER_USAGE
: If TRUE
include the resource group usage on the
worker ranks in the response.
Supported values:
The default value is FALSE
.
Map
.options
.public ShowResourceGroupsRequest setOptions(Map<String,String> options)
SHOW_DEFAULT_VALUES
: If
TRUE
include values of fields that are
based on the default resource group.
Supported values:
The default value is TRUE
.
SHOW_DEFAULT_GROUP
: If TRUE
include the default and system resource
groups in the response. This value defaults to false if an
explicit list of group names is provided, and true otherwise.
Supported values:
The default value is TRUE
.
SHOW_TIER_USAGE
: If TRUE
include the resource group usage on the
worker ranks in the response.
Supported values:
The default value is FALSE
.
Map
.options
- The new value for options
.this
to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
public Object get(int index)
get
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to getIndexOutOfBoundsException
public void put(int index, Object value)
put
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to setvalue
- the value to setIndexOutOfBoundsException
Copyright © 2025. All rights reserved.