public class AlterSystemPropertiesRequest extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.alterSystemProperties(AlterSystemPropertiesRequest)
.
The GPUdb.alterSystemProperties(AlterSystemPropertiesRequest)
endpoint is primarily used to simplify the testing of the system and is not
expected to be used during normal execution. Commands are given through the
propertyUpdatesMap
whose keys are commands and values are strings
representing integer values (for example '8000') or boolean values ('true'
or 'false').
Modifier and Type | Class and Description |
---|---|
static class |
AlterSystemPropertiesRequest.PropertyUpdatesMap
Map containing the properties of the system to be updated.
|
Constructor and Description |
---|
AlterSystemPropertiesRequest()
Constructs an AlterSystemPropertiesRequest object with default
parameters.
|
AlterSystemPropertiesRequest(Map<String,String> propertyUpdatesMap,
Map<String,String> options)
Constructs an AlterSystemPropertiesRequest 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.
|
Map<String,String> |
getOptions() |
Map<String,String> |
getPropertyUpdatesMap() |
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.
|
AlterSystemPropertiesRequest |
setOptions(Map<String,String> options) |
AlterSystemPropertiesRequest |
setPropertyUpdatesMap(Map<String,String> propertyUpdatesMap) |
String |
toString() |
public AlterSystemPropertiesRequest()
public AlterSystemPropertiesRequest(Map<String,String> propertyUpdatesMap, Map<String,String> options)
propertyUpdatesMap
- Map containing the properties of the system
to be updated. Error if empty.
SM_OMP_THREADS
: Set the number of OpenMP
threads that will be used to service filter &
aggregation requests against collections to
the specified integer value.
KERNEL_OMP_THREADS
: Set the number of kernel
OpenMP threads to the specified integer
value.
CONCURRENT_KERNEL_EXECUTION
: Enables
concurrent kernel execution if the value is
true
and disables it if the value is
false
.
Supported values:
CHUNK_SIZE
: Sets the chunk size of all new
sets to the specified integer value.
EXECUTION_MODE
: Sets the execution_mode for
kernel executions to the specified string
value. Possible values are host, device,
default (engine decides) or an integer value
that indicates max chunk size to exec on host
FLUSH_TO_DISK
: Flushes any changes to any
tables to the persistent store. These
changes include updates to the vector store,
object store, and text search store, Value
string is ignored
CLEAR_CACHE
: Clears cached results. Useful
to allow repeated timing of endpoints. Value
string is ignored
COMMUNICATOR_TEST
: Invoke the communicator
test and report timing results. Value string
is is a comma separated list of SET_MESSAGE_TIMERS_ENABLED
: Enables the
communicator test to collect additional
timing statistics when the value string is
true
. Disables the collection when
the value string is false
Supported values:
BULK_ADD_TEST
: Invoke the bulk add test and
report timing results. Value string is
ignored.
NETWORK_SPEED
: Invoke the network speed test
and report timing results. Value string is a
semicolon-separated list of options
- Optional parameters. The default value is an empty
Map
.public static org.apache.avro.Schema getClassSchema()
public Map<String,String> getPropertyUpdatesMap()
SM_OMP_THREADS
: Set the number of OpenMP threads that will be
used to service filter & aggregation requests against
collections to the specified integer value.
KERNEL_OMP_THREADS
: Set the number of kernel OpenMP threads to
the specified integer value.
CONCURRENT_KERNEL_EXECUTION
: Enables concurrent kernel
execution if the value is true
and disables it if the
value is false
.
Supported values:
CHUNK_SIZE
: Sets the chunk size of all new sets to the
specified integer value.
EXECUTION_MODE
: Sets the execution_mode for kernel executions
to the specified string value. Possible values are host, device,
default (engine decides) or an integer value that indicates max
chunk size to exec on host
FLUSH_TO_DISK
: Flushes any changes to any tables to the
persistent store. These changes include updates to the vector
store, object store, and text search store, Value string is
ignored
CLEAR_CACHE
: Clears cached results. Useful to allow repeated
timing of endpoints. Value string is ignored
COMMUNICATOR_TEST
: Invoke the communicator test and report
timing results. Value string is is a comma separated list of
SET_MESSAGE_TIMERS_ENABLED
: Enables the communicator test to
collect additional timing statistics when the value string is
true
. Disables the collection when the value string is
false
Supported values:
BULK_ADD_TEST
: Invoke the bulk add test and report timing
results. Value string is ignored.
NETWORK_SPEED
: Invoke the network speed test and report timing
results. Value string is a semicolon-separated list of
public AlterSystemPropertiesRequest setPropertyUpdatesMap(Map<String,String> propertyUpdatesMap)
propertyUpdatesMap
- Map containing the properties of the system
to be updated. Error if empty.
SM_OMP_THREADS
: Set the number of OpenMP
threads that will be used to service filter &
aggregation requests against collections to
the specified integer value.
KERNEL_OMP_THREADS
: Set the number of kernel
OpenMP threads to the specified integer
value.
CONCURRENT_KERNEL_EXECUTION
: Enables
concurrent kernel execution if the value is
true
and disables it if the value is
false
.
Supported values:
CHUNK_SIZE
: Sets the chunk size of all new
sets to the specified integer value.
EXECUTION_MODE
: Sets the execution_mode for
kernel executions to the specified string
value. Possible values are host, device,
default (engine decides) or an integer value
that indicates max chunk size to exec on host
FLUSH_TO_DISK
: Flushes any changes to any
tables to the persistent store. These
changes include updates to the vector store,
object store, and text search store, Value
string is ignored
CLEAR_CACHE
: Clears cached results. Useful
to allow repeated timing of endpoints. Value
string is ignored
COMMUNICATOR_TEST
: Invoke the communicator
test and report timing results. Value string
is is a comma separated list of SET_MESSAGE_TIMERS_ENABLED
: Enables the
communicator test to collect additional
timing statistics when the value string is
true
. Disables the collection when
the value string is false
Supported values:
BULK_ADD_TEST
: Invoke the bulk add test and
report timing results. Value string is
ignored.
NETWORK_SPEED
: Invoke the network speed test
and report timing results. Value string is a
semicolon-separated list of this
to mimic the builder pattern.public Map<String,String> getOptions()
Map
.public AlterSystemPropertiesRequest setOptions(Map<String,String> options)
options
- Optional parameters. The default value is an empty
Map
.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 © 2019. All rights reserved.