Package org.apache.datasketches.hive.frequencies
Hive UDFs for Frequent Items sketch.
This includes generic implementation in the form of abstract classes DataToItemsSketchUDAF
and UnionItemsSketchUDAF to be specialized for particular types of items.
An implementation for strings is provided: DataToStringsSketchUDAF and UnionStringsSketchUDAF.
GetFrequentItemsFromStringsSketchUDTF is to obtain results from sketches.
- Author:
- Alexander Saydakov
-
Class Summary Class Description DataToItemsSketchUDAF<T> This is a generic implementation to be specialized in subclassesDataToItemsSketchUDAF.DataToItemsSketchEvaluator<T> DataToStringsSketchUDAF GetFrequentItemsFromStringsSketchUDTF UnionItemsSketchUDAF<T> This is a generic implementation to be specialized in subclassesUnionItemsSketchUDAF.UnionItemsSketchEvaluator<T> UnionStringsSketchUDAF