public class ShowTriggersResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.showTriggers(ShowTriggersRequest)
.Constructor and Description |
---|
ShowTriggersResponse()
Constructs a ShowTriggersResponse object with default 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.
|
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
Map<String,Map<String,String>> |
getTriggerMap() |
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.
|
ShowTriggersResponse |
setTriggerMap(Map<String,Map<String,String>> triggerMap) |
String |
toString() |
public ShowTriggersResponse()
public static org.apache.avro.Schema getClassSchema()
public Map<String,Map<String,String>> getTriggerMap()
public ShowTriggersResponse setTriggerMap(Map<String,Map<String,String>> triggerMap)
triggerMap
- This dictionary contains (key, value) pairs of
(trigger ID, information map/dictionary) where the
key is a Unicode string representing a Trigger ID.
The value is another embedded dictionary containing
(key, value) pairs where the keys consist of
'table_name', 'type' and the parameter names relating
to the trigger type, e.g. *nai*, *min*, *max*. The
values are unicode strings (numeric values are also
converted to strings) representing the value of the
respective parameter. If a trigger is associated with
multiple tables, then the string value for
*table_name* contains a comma separated list of table
names.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.