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.IndexedRecordpublic class ShowTableMonitorsResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned by
GPUdb.showTableMonitors.Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA set of string constants for theShowTableMonitorsResponseparameteradditionalInfo.Method Summary
Modifier and TypeMethodDescriptionbooleanget(int index) This method supports the Avro framework and is not intended to be called directly by the user.Additional information about the respective monitors inmonitorIds.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.List of datasink names for the respectivemonitorIdsif one is defined.List of notification events for the respectivemonitorIds.List of table names that will hold failed notification events when the respectivemonitorIdsis suspended.List of filter expressions used on the respective tables intableNamesto limit records for notifications.List of columns used on the respective tables intableNamesthat will increase for new records.getInfo()Additional information.List of join column names.List of join expressions.List of join table names.Maximum number of consecutive failures for the respectivemonitorIdsbefore stream is automatically suspended.List of monitor IDs.List of refresh methods used on the respective tables intableNames.List of refresh periods used on the respective tables intableNames.List of refresh start times used on the respective tables intableNames.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.Status of stream for the respectivemonitorIds.List of source tables being monitored for the respectivemonitorIds.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setAdditionalInfo(List<Map<String, String>> additionalInfo) Additional information about the respective monitors inmonitorIds.setDatasinkNames(List<String> datasinkNames) List of datasink names for the respectivemonitorIdsif one is defined.List of notification events for the respectivemonitorIds.setFailedNotificationsTableNames(List<String> failedNotificationsTableNames) List of table names that will hold failed notification events when the respectivemonitorIdsis suspended.setFilterExpressions(List<String> filterExpressions) List of filter expressions used on the respective tables intableNamesto limit records for notifications.setIncreasingColumns(List<String> increasingColumns) List of columns used on the respective tables intableNamesthat will increase for new records.Additional information.setJoinColumnNames(List<String> joinColumnNames) List of join column names.setJoinExpressions(List<String> joinExpressions) List of join expressions.setJoinTableNames(List<String> joinTableNames) List of join table names.setMaxConsecutiveFailures(List<Integer> maxConsecutiveFailures) Maximum number of consecutive failures for the respectivemonitorIdsbefore stream is automatically suspended.setMonitorIds(List<String> monitorIds) List of monitor IDs.setRefreshMethod(List<String> refreshMethod) List of refresh methods used on the respective tables intableNames.setRefreshPeriod(List<String> refreshPeriod) List of refresh periods used on the respective tables intableNames.setRefreshStartTime(List<String> refreshStartTime) List of refresh start times used on the respective tables intableNames.setStatuses(List<String> statuses) Status of stream for the respectivemonitorIds.setTableNames(List<String> tableNames) List of source tables being monitored for the respectivemonitorIds.toString()
Method Details
getTableNames
List of source tables being monitored for the respectivemonitorIds.Returns:The current value oftableNames.setTableNames
List of source tables being monitored for the respectivemonitorIds.Parameters:tableNames- The new value fortableNames.Returns:thisto mimic the builder pattern.getEvents
List of notification events for the respectivemonitorIds.Returns:The current value ofevents.setEvents
List of notification events for the respectivemonitorIds.Parameters:events- The new value forevents.Returns:thisto mimic the builder pattern.getIncreasingColumns
List of columns used on the respective tables intableNamesthat will increase for new records.Returns:The current value ofincreasingColumns.setIncreasingColumns
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
List of filter expressions used on the respective tables intableNamesto limit records for notifications.Returns:The current value offilterExpressions.setFilterExpressions
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.getRefreshMethod
List of refresh methods used on the respective tables intableNames.Returns:The current value ofrefreshMethod.setRefreshMethod
List of refresh methods used on the respective tables intableNames.Parameters:refreshMethod- The new value forrefreshMethod.Returns:thisto mimic the builder pattern.getRefreshPeriod
List of refresh periods used on the respective tables intableNames.Returns:The current value ofrefreshPeriod.setRefreshPeriod
List of refresh periods used on the respective tables intableNames.Parameters:refreshPeriod- The new value forrefreshPeriod.Returns:thisto mimic the builder pattern.getRefreshStartTime
List of refresh start times used on the respective tables intableNames.Returns:The current value ofrefreshStartTime.setRefreshStartTime
List of refresh start times used on the respective tables intableNames.Parameters:refreshStartTime- The new value forrefreshStartTime.Returns:thisto mimic the builder pattern.getDatasinkNames
List of datasink names for the respectivemonitorIdsif one is defined.Returns:The current value ofdatasinkNames.setDatasinkNames
List of datasink names for the respectivemonitorIdsif one is defined.Parameters:datasinkNames- The new value fordatasinkNames.Returns:thisto mimic the builder pattern.getMaxConsecutiveFailures
Maximum number of consecutive failures for the respectivemonitorIdsbefore stream is automatically suspended.Returns:The current value ofmaxConsecutiveFailures.setMaxConsecutiveFailures
Maximum number of consecutive failures for the respectivemonitorIdsbefore stream is automatically suspended.Parameters:maxConsecutiveFailures- The new value formaxConsecutiveFailures.Returns:thisto mimic the builder pattern.getFailedNotificationsTableNames
List of table names that will hold failed notification events when the respectivemonitorIdsis suspended.Returns:The current value offailedNotificationsTableNames.setFailedNotificationsTableNames
public ShowTableMonitorsResponse setFailedNotificationsTableNames(List<String> failedNotificationsTableNames) List of table names that will hold failed notification events when the respectivemonitorIdsis suspended.Parameters:failedNotificationsTableNames- The new value forfailedNotificationsTableNames.Returns:thisto mimic the builder pattern.setStatuses
Status of stream for the respectivemonitorIds.Parameters:statuses- The new value forstatuses.Returns:thisto mimic the builder pattern.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 detector.MATERIALIZED_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 ofadditionalInfo.setAdditionalInfo
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 detector.MATERIALIZED_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.