alterTableMonitor
public AlterTableMonitorResponse alterTableMonitor(AlterTableMonitorRequest request) throws GPUdbException Alters a table monitor previously created withcreateTableMonitor.Parameters:request-Requestobject containing the parameters for the operation.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.alterTableMonitor
public AlterTableMonitorResponse alterTableMonitor(String topicId, Map<String, String> monitorUpdatesMap, Map<String, String> options) throws GPUdbException Alters a table monitor previously created withcreateTableMonitor.Parameters:topicId- The topic ID returned bycreateTableMonitor.monitorUpdatesMap- Map containing the properties of the table monitor to be updated. Error if empty.SCHEMA_NAME: Updates the schema name. IfSCHEMA_NAMEdoesn’t exist, an error will be thrown. IfSCHEMA_NAMEis empty, then the user’s default schema will be used.MAX_CONSECUTIVE_FAILURES: Updates the maximum number of consecutive failures before suspending the stream. A value of ‘-1’ to disables auto-suspend. This value is by rank and not overall.NOTIFICATIONS: Updates the state of the monitor. Supported values:The default value is an emptyMap.
options- Optional parameters. The default value is an emptyMap.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.