Package com.gpudb.protocol
Class ShowTableMonitorsResponse
- java.lang.Object
-
- com.gpudb.protocol.ShowTableMonitorsResponse
-
- All Implemented Interfaces:
org.apache.avro.generic.GenericContainer,org.apache.avro.generic.IndexedRecord
public class ShowTableMonitorsResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned byGPUdb.showTableMonitors.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShowTableMonitorsResponse.AdditionalInfoA set of string constants for theShowTableMonitorsResponseparameteradditionalInfo.
-
Constructor Summary
Constructors Constructor Description ShowTableMonitorsResponse()Constructs a ShowTableMonitorsResponse object with default parameters.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Objectget(int index)This method supports the Avro framework and is not intended to be called directly by the user.List<Map<String,String>>getAdditionalInfo()Additional information about the respective monitors inmonitorIds.static org.apache.avro.SchemagetClassSchema()This method supports the Avro framework and is not intended to be called directly by the user.List<String>getDatasinkNames()List of datasink names for the respectivemonitorIdsif one is defined.List<String>getEvents()List of notification events for the respectivemonitorIds.List<String>getFilterExpressions()List of filter expressions used on the respective tables intableNamesto limit records for notifications.List<String>getIncreasingColumns()List of columns used on the respective tables intableNamesthat will increase for new records.Map<String,String>getInfo()Additional information.List<String>getJoinColumnNames()List of join_column_namesList<String>getJoinExpressions()List of join expressions.List<String>getJoinTableNames()List of join_table_names.List<String>getMonitorIds()List of monitor IDs.List<String>getRefreshMethod()List of refresh methods used on the respective tables intableNames.List<String>getRefreshPeriod()List of refresh periods used on the respective tables intableNames.List<String>getRefreshStartTime()List of refresh start times used on the respective tables intableNames.org.apache.avro.SchemagetSchema()This method supports the Avro framework and is not intended to be called directly by the user.List<String>getTableNames()List of source tables being monitored for the respectivemonitorIds.inthashCode()voidput(int index, Object value)This method supports the Avro framework and is not intended to be called directly by the user.ShowTableMonitorsResponsesetAdditionalInfo(List<Map<String,String>> additionalInfo)Additional information about the respective monitors inmonitorIds.ShowTableMonitorsResponsesetDatasinkNames(List<String> datasinkNames)List of datasink names for the respectivemonitorIdsif one is defined.ShowTableMonitorsResponsesetEvents(List<String> events)List of notification events for the respectivemonitorIds.ShowTableMonitorsResponsesetFilterExpressions(List<String> filterExpressions)List of filter expressions used on the respective tables intableNamesto limit records for notifications.ShowTableMonitorsResponsesetIncreasingColumns(List<String> increasingColumns)List of columns used on the respective tables intableNamesthat will increase for new records.ShowTableMonitorsResponsesetInfo(Map<String,String> info)Additional information.ShowTableMonitorsResponsesetJoinColumnNames(List<String> joinColumnNames)List of join_column_namesShowTableMonitorsResponsesetJoinExpressions(List<String> joinExpressions)List of join expressions.ShowTableMonitorsResponsesetJoinTableNames(List<String> joinTableNames)List of join_table_names.ShowTableMonitorsResponsesetMonitorIds(List<String> monitorIds)List of monitor IDs.ShowTableMonitorsResponsesetRefreshMethod(List<String> refreshMethod)List of refresh methods used on the respective tables intableNames.ShowTableMonitorsResponsesetRefreshPeriod(List<String> refreshPeriod)List of refresh periods used on the respective tables intableNames.ShowTableMonitorsResponsesetRefreshStartTime(List<String> refreshStartTime)List of refresh start times used on the respective tables intableNames.ShowTableMonitorsResponsesetTableNames(List<String> tableNames)List of source tables being monitored for the respectivemonitorIds.StringtoString()
-
-
-
Method Detail
-
getClassSchema
public static org.apache.avro.Schema getClassSchema()
This method supports the Avro framework and is not intended to be called directly by the user.- Returns:
- The schema for the class.
-
getMonitorIds
public List<String> getMonitorIds()
List of monitor IDs.- Returns:
- The current value of
monitorIds.
-
setMonitorIds
public ShowTableMonitorsResponse setMonitorIds(List<String> monitorIds)
List of monitor IDs.- Parameters:
monitorIds- The new value formonitorIds.- Returns:
thisto mimic the builder pattern.
-
getTableNames
public List<String> getTableNames()
List of source tables being monitored for the respectivemonitorIds.- Returns:
- The current value of
tableNames.
-
setTableNames
public ShowTableMonitorsResponse setTableNames(List<String> tableNames)
List of source tables being monitored for the respectivemonitorIds.- Parameters:
tableNames- The new value fortableNames.- Returns:
thisto mimic the builder pattern.
-
getEvents
public List<String> getEvents()
List of notification events for the respectivemonitorIds.- Returns:
- The current value of
events.
-
setEvents
public ShowTableMonitorsResponse setEvents(List<String> events)
List of notification events for the respectivemonitorIds.- Parameters:
events- The new value forevents.- Returns:
thisto mimic the builder pattern.
-
getIncreasingColumns
public List<String> getIncreasingColumns()
List of columns used on the respective tables intableNamesthat will increase for new records.- Returns:
- The current value of
increasingColumns.
-
setIncreasingColumns
public ShowTableMonitorsResponse setIncreasingColumns(List<String> increasingColumns)
List of columns used on the respective tables intableNamesthat will increase for new records.- Parameters:
increasingColumns- The new value forincreasingColumns.- Returns:
thisto mimic the builder pattern.
-
getFilterExpressions
public List<String> getFilterExpressions()
List of filter expressions used on the respective tables intableNamesto limit records for notifications.- Returns:
- The current value of
filterExpressions.
-
setFilterExpressions
public ShowTableMonitorsResponse setFilterExpressions(List<String> filterExpressions)
List of filter expressions used on the respective tables intableNamesto limit records for notifications.- Parameters:
filterExpressions- The new value forfilterExpressions.- Returns:
thisto mimic the builder pattern.
-
getJoinTableNames
public List<String> getJoinTableNames()
List of join_table_names.- Returns:
- The current value of
joinTableNames.
-
setJoinTableNames
public ShowTableMonitorsResponse setJoinTableNames(List<String> joinTableNames)
List of join_table_names.- Parameters:
joinTableNames- The new value forjoinTableNames.- Returns:
thisto mimic the builder pattern.
-
getJoinColumnNames
public List<String> getJoinColumnNames()
List of join_column_names- Returns:
- The current value of
joinColumnNames.
-
setJoinColumnNames
public ShowTableMonitorsResponse setJoinColumnNames(List<String> joinColumnNames)
List of join_column_names- Parameters:
joinColumnNames- The new value forjoinColumnNames.- Returns:
thisto mimic the builder pattern.
-
getJoinExpressions
public List<String> getJoinExpressions()
List of join expressions.- Returns:
- The current value of
joinExpressions.
-
setJoinExpressions
public ShowTableMonitorsResponse setJoinExpressions(List<String> joinExpressions)
List of join expressions.- Parameters:
joinExpressions- The new value forjoinExpressions.- Returns:
thisto mimic the builder pattern.
-
getRefreshMethod
public List<String> getRefreshMethod()
List of refresh methods used on the respective tables intableNames.- Returns:
- The current value of
refreshMethod.
-
setRefreshMethod
public ShowTableMonitorsResponse setRefreshMethod(List<String> refreshMethod)
List of refresh methods used on the respective tables intableNames.- Parameters:
refreshMethod- The new value forrefreshMethod.- Returns:
thisto mimic the builder pattern.
-
getRefreshPeriod
public List<String> getRefreshPeriod()
List of refresh periods used on the respective tables intableNames.- Returns:
- The current value of
refreshPeriod.
-
setRefreshPeriod
public ShowTableMonitorsResponse setRefreshPeriod(List<String> refreshPeriod)
List of refresh periods used on the respective tables intableNames.- Parameters:
refreshPeriod- The new value forrefreshPeriod.- Returns:
thisto mimic the builder pattern.
-
getRefreshStartTime
public List<String> getRefreshStartTime()
List of refresh start times used on the respective tables intableNames.- Returns:
- The current value of
refreshStartTime.
-
setRefreshStartTime
public ShowTableMonitorsResponse setRefreshStartTime(List<String> refreshStartTime)
List of refresh start times used on the respective tables intableNames.- Parameters:
refreshStartTime- The new value forrefreshStartTime.- Returns:
thisto mimic the builder pattern.
-
getDatasinkNames
public List<String> getDatasinkNames()
List of datasink names for the respectivemonitorIdsif one is defined.- Returns:
- The current value of
datasinkNames.
-
setDatasinkNames
public ShowTableMonitorsResponse setDatasinkNames(List<String> datasinkNames)
List of datasink names for the respectivemonitorIdsif one is defined.- Parameters:
datasinkNames- The new value fordatasinkNames.- Returns:
thisto mimic the builder pattern.
-
getAdditionalInfo
public List<Map<String,String>> getAdditionalInfo()
Additional information about the respective monitors inmonitorIds.MONITOR_TYPE: Notification type for the respectivemonitorIdsandtableNames. The default value is ''.TYPE_SCHEMA: Notification type schemas for the respectivemonitorIdsandtableNames. The default value is ''.MATERIALIZED_VIEW_FOR_CHANGE_DETECTOR: Materialized view that implements the change detectorMATERIALIZED_VIEW_FOR_FILTER: Materialized views created for thefilterExpressions. The default value is ''.REFERENCES: Reference count on the respectivemonitorIds. The default value is ''.DATASINK_JSON: Datasink info in JSON format for the respectivemonitorIdsif one is defined. The default value is ''.
- Returns:
- The current value of
additionalInfo.
-
setAdditionalInfo
public ShowTableMonitorsResponse setAdditionalInfo(List<Map<String,String>> additionalInfo)
Additional information about the respective monitors inmonitorIds.MONITOR_TYPE: Notification type for the respectivemonitorIdsandtableNames. The default value is ''.TYPE_SCHEMA: Notification type schemas for the respectivemonitorIdsandtableNames. The default value is ''.MATERIALIZED_VIEW_FOR_CHANGE_DETECTOR: Materialized view that implements the change detectorMATERIALIZED_VIEW_FOR_FILTER: Materialized views created for thefilterExpressions. The default value is ''.REFERENCES: Reference count on the respectivemonitorIds. The default value is ''.DATASINK_JSON: Datasink info in JSON format for the respectivemonitorIdsif one is defined. The default value is ''.
- Parameters:
additionalInfo- The new value foradditionalInfo.- Returns:
thisto mimic the builder pattern.
-
getInfo
public Map<String,String> getInfo()
Additional information.- Returns:
- The current value of
info.
-
setInfo
public ShowTableMonitorsResponse setInfo(Map<String,String> info)
Additional information.- Parameters:
info- The new value forinfo.- Returns:
thisto mimic the builder pattern.
-
getSchema
public org.apache.avro.Schema getSchema()
This method supports the Avro framework and is not intended to be called directly by the user.- Specified by:
getSchemain interfaceorg.apache.avro.generic.GenericContainer- Returns:
- The schema object describing this class.
-
get
public Object get(int index)
This method supports the Avro framework and is not intended to be called directly by the user.- Specified by:
getin interfaceorg.apache.avro.generic.IndexedRecord- Parameters:
index- the position of the field to get- Returns:
- value of the field with the given index.
- Throws:
IndexOutOfBoundsException
-
put
public void put(int index, Object value)This method supports the Avro framework and is not intended to be called directly by the user.- Specified by:
putin interfaceorg.apache.avro.generic.IndexedRecord- Parameters:
index- the position of the field to setvalue- the value to set- Throws:
IndexOutOfBoundsException
-
-