public class AdminVerifyDbRequest extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.adminVerifyDb(AdminVerifyDbRequest).
Verify database is in a consistent state. When inconsistencies or errors are found, the verified_ok flag in the response is set to false and the list of errors found is provided in the error_list.
| Modifier and Type | Class and Description |
|---|---|
static class |
AdminVerifyDbRequest.Options
Optional parameters.
|
| Constructor and Description |
|---|
AdminVerifyDbRequest()
Constructs an AdminVerifyDbRequest object with default parameters.
|
AdminVerifyDbRequest(Map<String,String> options)
Constructs an AdminVerifyDbRequest 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() |
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.
|
AdminVerifyDbRequest |
setOptions(Map<String,String> options) |
String |
toString() |
public AdminVerifyDbRequest()
public AdminVerifyDbRequest(Map<String,String> options)
options - Optional parameters.
REBUILD_ON_ERROR:
Supported values:
The default value is FALSE.
VERIFY_PERSIST:
Supported values:
The default value is FALSE.
Map.public static org.apache.avro.Schema getClassSchema()
public Map<String,String> getOptions()
REBUILD_ON_ERROR:
Supported values:
The default value is FALSE.
VERIFY_PERSIST:
Supported values:
The default value is FALSE.
Map.public AdminVerifyDbRequest setOptions(Map<String,String> options)
options - Optional parameters.
REBUILD_ON_ERROR:
Supported values:
The default value is FALSE.
VERIFY_PERSIST:
Supported values:
The default value is FALSE.
Map.this to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainerpublic Object get(int index)
get in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to getIndexOutOfBoundsExceptionpublic void put(int index,
Object value)
put in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to setvalue - the value to setIndexOutOfBoundsExceptionCopyright © 2019. All rights reserved.