Interface DataSetIndexStats
-
- All Known Implementing Classes:
DataSetIndexStatsImpl
public interface DataSetIndexStatsA DataSetIndex stats
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetBuildTime()Time required to "build" (load, create, filter, ...) the data set.longgetIndexSize()Return the estimated memory (in bytes) the data set index is consuming.DataSetIndexElementgetLessReused()An index reference to the less reused element.DataSetIndexElementgetLongestBuild()An index reference to the element that takes more time to get instantiated.DataSetIndexElementgetMostReused()An index reference to the most reused element.intgetNumberOfAggFunctions()Total number of aggregate function calculations executed over the data setintgetNumberOfFilterOps()Total number of filter operations executed over the data setintgetNumberOfGroupOps()Total number of group operations over the data setintgetNumberOfSortOps()Total number of sort operations executed over the data setdoublegetReuseRate()The ratio between the reuse time and the build time.longgetReuseTime()The real usage time this element would have if was not indexed.DataSetIndexElementgetShortestBuild()An index reference to the element that takes less time to get instantiated.StringtoString(String sep)Prints a stats summary.
-
-
-
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
-
-