Class StatisticsTarget


  • public class StatisticsTarget
    extends Object
    Target to collect statistics by.
    • Constructor Detail

      • StatisticsTarget

        public StatisticsTarget​(String schema,
                                String obj,
                                String... columns)
        Constructor.
        Parameters:
        schema - Schema name.
        obj - Object name.
        columns - Array of column names or null if target - all columns.
      • StatisticsTarget

        public StatisticsTarget​(StatisticsKey key,
                                String... columns)
        Constructor.
        Parameters:
        key - Statistic key.
        columns - Array of column names or null if target - all columns.
    • Method Detail

      • schema

        public String schema()
        Returns:
        Schema name.
      • obj

        public String obj()
        Object name.
      • columns

        public String[] columns()
        Columns array.
      • key

        public StatisticsKey key()
        Statistic key (schema and table name).
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object