# Uses of Class
org.apache.datasketches.quantiles.QuantilesItemsUnion

Packages that use QuantilesItemsUnion
Package
Description
org.apache.datasketches.quantiles
The quantiles package contains stochastic streaming algorithms that enable single-pass analysis of the distribution of a stream of quantiles.

## Uses of QuantilesItemsUnion in org.apache.datasketches.quantiles

Methods in org.apache.datasketches.quantiles that return QuantilesItemsUnion
Modifier and Type
Method
Description
`static <T> QuantilesItemsUnion<T>`
QuantilesItemsUnion.`getInstance(Class<T> clazz, int maxK, Comparator<? super T> comparator)`
Create an instance of QuantilesItemsUnion
`static <T> QuantilesItemsUnion<T>`
QuantilesItemsUnion.`getInstance(Class<T> clazz, Comparator<? super T> comparator)`
Create an instance of QuantilesItemsUnion with the default k.
`static <T> QuantilesItemsUnion<T>`
QuantilesItemsUnion.`initialize(QuantilesItemsSketch<T> sketch)`
Initialize a new QuantilesItemsUnion with an instance of QuantilesItemsSketch
`static <T> QuantilesItemsUnion<T>`
QuantilesItemsUnion.`initializeWithMemorySegment(Class<T> clazz, MemorySegment srcSeg, Comparator<? super T> comparator, ArrayOfItemsSerDe<T> serDe)`
Initialize a new QuantilesItemsUnion with a heapified instance of an QuantilesItemsSketch from a MemorySegment.