Class 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 Detail

      • ShowTableMonitorsResponse

        public ShowTableMonitorsResponse()
        Constructs a ShowTableMonitorsResponse object with default parameters.
    • 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 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.
      • getInfo

        public Map<String,​String> getInfo()
        Additional information.
        Returns:
        The current value of info.
      • 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:
        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:
        put in interface org.apache.avro.generic.IndexedRecord
        Parameters:
        index - the position of the field to set
        value - the value to set
        Throws:
        IndexOutOfBoundsException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object