Class RollupInfo

All Implemented Interfaces:
HierarchicalTableInfo, Serializable

public class RollupInfo extends AbstractHierarchicalTableInfo
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getSelectColumns

      public SelectColumn[] getSelectColumns()
      Get a copy of the SelectColumns, that can be used for performing a new aggregation.
      Returns:
      a copy of selectColumns
    • getSelectColumnNames

      public Set<String> getSelectColumnNames()
      Get the names of the SelectColumns.
    • getHierarchicalColumnName

      public String getHierarchicalColumnName()
      Returns:
      the name of the column that contains the hierarchical keys.
    • withColumnFormats

      public HierarchicalTableInfo withColumnFormats(String[] columnFormats)
      Description copied from interface: HierarchicalTableInfo
      Sets the column formats for the table info.
      Parameters:
      columnFormats - the column formats to set.
      Returns:
      a copy of this HierarchicalTableInfo with column formats
    • getLeafType

      public RollupInfo.LeafType getLeafType()
    • getMatchPairs

      public List<MatchPair> getMatchPairs()
    • includesConstituents

      public boolean includesConstituents()
      Returns:
      If this hierarchical table contains constituent rows.
    • withSortPairs

      public HierarchicalTableInfo withSortPairs(SortPair... columnsToSortBy)
      Description copied from interface: HierarchicalTableInfo
      Sets sort-preferences for the displayed table
      Parameters:
      columnsToSortBy - column/direction pairing of sorts
      Returns:
      a copy of this HierarchicalTableInfo with new sort-directives included
    • withFlatFilterColumns

      @NotNull public HierarchicalTableInfo withFlatFilterColumns(String... flatFilters)
      Description copied from interface: HierarchicalTableInfo
      Mark the specified columns to be filtered as flat tables at each level, rather than globally with a re-tree. Hierarchical rows that are orphaned will be filtered out.
      Parameters:
      flatFilters - the columns that should be filtered flat.
      Returns:
      a copy of this HierarchicalTableInfo with new flatFilterColumns.