Class AllFacetsState

  • All Implemented Interfaces:
    Serializable, FacetState

    public class AllFacetsState
    extends Object
    implements FacetState
    State of aggregation of all facets, used to compute the states of all facets in a single aggregation over the grid. It also computes column-level datatype statistics (ColumnStats) for each column.
    See Also:
    Serialized Form
    • Constructor Detail

      • AllFacetsState

        public AllFacetsState​(<FacetState> states,
                    <ColumnStats> columnStats,
                              long aggregatedCount,
                              long filteredCount)
        Constructs a state for aggregation of all facets.
    • Method Detail

      • get

        public FacetState get​(int index)
        Helper for facet access.
        index - position of the facet state to retrieve
      • size

        public int size()
        Number of facet states stored in this state.
      • getStates

        public<FacetState> getStates()
        List of all facet states
      • getColumnStats

        public<ColumnStats> getColumnStats()
        List of column statistics for all columns.
      • getAggregatedCount

        public long getAggregatedCount()
        Number of rows or records seen by the aggregator.
      • getFilteredCount

        public long getFilteredCount()
        Numbers of rows or records seen by the aggregator which matched all facets
      • hashCode

        public int hashCode()
        hashCode in class Object