Class PostProcessor
java.lang.Object
org.apache.datasketches.fdt.PostProcessor
This processes the contents of a FDT sketch to extract the
primary keys with the most frequent unique combinations of the non-primary dimensions.
The source sketch is not modified.
- Author:
- Lee Rhodes
-
Constructor Summary
ConstructorsConstructorDescriptionPostProcessor(FdtSketch sketch, Group group, char sep) Construct with a populated FdtSketch -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of groups in the final sketch.getGroupList(int[] priKeyIndices, int numStdDev, int limit) Return the most frequent Groups associated with Primary Keys based on the size of the groups.
-
Constructor Details
-
PostProcessor
-
-
Method Details
-
getGroupCount
public int getGroupCount()Returns the number of groups in the final sketch.- Returns:
- the number of groups in the final sketch.
-
getGroupList
Return the most frequent Groups associated with Primary Keys based on the size of the groups.- Parameters:
priKeyIndices- the indices of the primary dimensionsnumStdDev- the number of standard deviations for the error bounds, this value is an integer and must be one of 1, 2, or 3. See Number of Standard Deviationslimit- the maximum number of rows to return. If ≤ 0, all rows will be returned.- Returns:
- the most frequent Groups associated with Primary Keys based on the size of the groups.
-