Skip to main content

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 by GPUdb.showTableMonitors.
  • Constructor Details

    • ShowTableMonitorsResponse

      public ShowTableMonitorsResponse()
      Constructs a ShowTableMonitorsResponse object with default parameters.
  • Method Details

    • 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 for monitorIds.
      Returns:
      this to mimic the builder pattern.
    • getTableNames

      public List<String> getTableNames()
      List of source tables being monitored for the respective monitorIds.
      Returns:
      The current value of tableNames.
    • setTableNames

      public ShowTableMonitorsResponse setTableNames(List<String> tableNames)
      List of source tables being monitored for the respective monitorIds.
      Parameters:
      tableNames - The new value for tableNames.
      Returns:
      this to mimic the builder pattern.
    • getEvents

      public List<String> getEvents()
      List of notification events for the respective monitorIds.
      Returns:
      The current value of events.
    • setEvents

      public ShowTableMonitorsResponse setEvents(List<String> events)
      List of notification events for the respective monitorIds.
      Parameters:
      events - The new value for events.
      Returns:
      this to mimic the builder pattern.
    • getIncreasingColumns

      public List<String> getIncreasingColumns()
      List of columns used on the respective tables in tableNames that 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 in tableNames that will increase for new records.
      Parameters:
      increasingColumns - The new value for increasingColumns.
      Returns:
      this to mimic the builder pattern.
    • getFilterExpressions

      public List<String> getFilterExpressions()
      List of filter expressions used on the respective tables in tableNames to 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 in tableNames to limit records for notifications.
      Parameters:
      filterExpressions - The new value for filterExpressions.
      Returns:
      this to 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 for joinTableNames.
      Returns:
      this to 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 for joinColumnNames.
      Returns:
      this to 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 for joinExpressions.
      Returns:
      this to mimic the builder pattern.
    • getRefreshMethod

      public List<String> getRefreshMethod()
      List of refresh methods used on the respective tables in tableNames.
      Returns:
      The current value of refreshMethod.
    • setRefreshMethod

      public ShowTableMonitorsResponse setRefreshMethod(List<String> refreshMethod)
      List of refresh methods used on the respective tables in tableNames.
      Parameters:
      refreshMethod - The new value for refreshMethod.
      Returns:
      this to mimic the builder pattern.
    • getRefreshPeriod

      public List<String> getRefreshPeriod()
      List of refresh periods used on the respective tables in tableNames.
      Returns:
      The current value of refreshPeriod.
    • setRefreshPeriod

      public ShowTableMonitorsResponse setRefreshPeriod(List<String> refreshPeriod)
      List of refresh periods used on the respective tables in tableNames.
      Parameters:
      refreshPeriod - The new value for refreshPeriod.
      Returns:
      this to mimic the builder pattern.
    • getRefreshStartTime

      public List<String> getRefreshStartTime()
      List of refresh start times used on the respective tables in tableNames.
      Returns:
      The current value of refreshStartTime.
    • setRefreshStartTime

      public ShowTableMonitorsResponse setRefreshStartTime(List<String> refreshStartTime)
      List of refresh start times used on the respective tables in tableNames.
      Parameters:
      refreshStartTime - The new value for refreshStartTime.
      Returns:
      this to mimic the builder pattern.
    • getDatasinkNames

      public List<String> getDatasinkNames()
      List of datasink names for the respective monitorIds if one is defined.
      Returns:
      The current value of datasinkNames.
    • setDatasinkNames

      public ShowTableMonitorsResponse setDatasinkNames(List<String> datasinkNames)
      List of datasink names for the respective monitorIds if one is defined.
      Parameters:
      datasinkNames - The new value for datasinkNames.
      Returns:
      this to mimic the builder pattern.
    • getMaxConsecutiveFailures

      public List<Integer> getMaxConsecutiveFailures()
      Maximum number of consecutive failures for the respective monitorIds before stream is automatically suspended.
      Returns:
      The current value of maxConsecutiveFailures.
    • setMaxConsecutiveFailures

      public ShowTableMonitorsResponse setMaxConsecutiveFailures(List<Integer> maxConsecutiveFailures)
      Maximum number of consecutive failures for the respective monitorIds before stream is automatically suspended.
      Parameters:
      maxConsecutiveFailures - The new value for maxConsecutiveFailures.
      Returns:
      this to mimic the builder pattern.
    • getFailedNotificationsTableNames

      public List<String> getFailedNotificationsTableNames()
      List of table names that will hold failed notification events when the respective monitorIds is suspended.
      Returns:
      The current value of failedNotificationsTableNames.
    • setFailedNotificationsTableNames

      public ShowTableMonitorsResponse setFailedNotificationsTableNames(List<String> failedNotificationsTableNames)
      List of table names that will hold failed notification events when the respective monitorIds is suspended.
      Parameters:
      failedNotificationsTableNames - The new value for failedNotificationsTableNames.
      Returns:
      this to mimic the builder pattern.
    • getStatuses

      public List<String> getStatuses()
      Status of stream for the respective monitorIds.
      Returns:
      The current value of statuses.
    • setStatuses

      public ShowTableMonitorsResponse setStatuses(List<String> statuses)
      Status of stream for the respective monitorIds.
      Parameters:
      statuses - The new value for statuses.
      Returns:
      this to mimic the builder pattern.
    • getAdditionalInfo

      public List<Map<String,String>> getAdditionalInfo()
      Additional information about the respective monitors in monitorIds.
      Returns:
      The current value of additionalInfo.
    • setAdditionalInfo

      public ShowTableMonitorsResponse setAdditionalInfo(List<Map<String,String>> additionalInfo)
      Additional information about the respective monitors in monitorIds.
      Parameters:
      additionalInfo - The new value for additionalInfo.
      Returns:
      this to 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 for info.
      Returns:
      this to 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:
      getSchema in interface org.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:
      get in interface org.apache.avro.generic.IndexedRecord
      Parameters:
      index - the position of the field to get
      Returns:
      value of the field with the given index.
      Throws:
    • 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:
      put in interface org.apache.avro.generic.IndexedRecord
      Parameters:
      index - the position of the field to set
      value - the value to set
      Throws:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object