Interface DataSetIndexStats

  • All Known Implementing Classes:
    DataSetIndexStatsImpl

    public interface DataSetIndexStats
    A DataSetIndex stats
    • Method Detail

      • getBuildTime

        long getBuildTime()
        Time required to "build" (load, create, filter, ...) the data set.
        Returns:
        Time in nanoseconds
      • getReuseTime

        long getReuseTime()
        The real usage time this element would have if was not indexed.
        Returns:
        Time in nanoseconds
      • getReuseRate

        double getReuseRate()
        The ratio between the reuse time and the build time.
      • getNumberOfGroupOps

        int getNumberOfGroupOps()
        Total number of group operations over the data set
      • getNumberOfFilterOps

        int getNumberOfFilterOps()
        Total number of filter operations executed over the data set
      • getNumberOfSortOps

        int getNumberOfSortOps()
        Total number of sort operations executed over the data set
      • getNumberOfAggFunctions

        int getNumberOfAggFunctions()
        Total number of aggregate function calculations executed over the data set
      • getLongestBuild

        DataSetIndexElement getLongestBuild()
        An index reference to the element that takes more time to get instantiated.
      • getShortestBuild

        DataSetIndexElement getShortestBuild()
        An index reference to the element that takes less time to get instantiated.
      • getLessReused

        DataSetIndexElement getLessReused()
        An index reference to the less reused element.
      • getMostReused

        DataSetIndexElement getMostReused()
        An index reference to the most reused element.
      • getIndexSize

        long getIndexSize()
        Return the estimated memory (in bytes) the data set index is consuming.
        Returns:
        The number of bytes
      • toString

        String toString​(String sep)
        Prints a stats summary.
        Parameters:
        sep - The separator string to insert between every stat.