Uses of Class
org.apache.datasketches.common.ResizeFactor
-
Packages that use ResizeFactor Package Description org.apache.datasketches.common This package is for common classes that may be used across all the sketch families.org.apache.datasketches.sampling This package is dedicated to streaming algorithms that enable fixed size, uniform sampling of weighted and unweighted items from a stream.org.apache.datasketches.theta The theta package contains the basic sketch classes that are members of the Theta Sketch Framework.org.apache.datasketches.tuple The tuple package contains a number of sketches based on the same fundamental algorithms of the Theta Sketch Framework and extend these concepts for whole new families of sketches.org.apache.datasketches.tuple.arrayofdoubles This package is for a concrete implementation of the Tuple sketch for an array of double values.org.apache.datasketches.tuple.strings This package is for a generic implementation of the Tuple sketch for single String value. -
-
Uses of ResizeFactor in org.apache.datasketches.common
Methods in org.apache.datasketches.common that return ResizeFactor Modifier and Type Method Description static ResizeFactor
ResizeFactor. getRF(int lg)
Returns the Resize Factor given the Log-base 2 of the Resize Factorstatic ResizeFactor
ResizeFactor. valueOf(String name)
Returns the enum constant of this type with the specified name.static ResizeFactor[]
ResizeFactor. values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of ResizeFactor in org.apache.datasketches.sampling
Methods in org.apache.datasketches.sampling with parameters of type ResizeFactor Modifier and Type Method Description static <T> ReservoirItemsSketch<T>
ReservoirItemsSketch. newInstance(int k, ResizeFactor rf)
Construct a mergeable sampling sketch with up to k samples using a specified resize factor.static ReservoirLongsSketch
ReservoirLongsSketch. newInstance(int k, ResizeFactor rf)
Construct a mergeable reservoir sampling sketch with up to k samples using the default resize factor (8).static <T> VarOptItemsSketch<T>
VarOptItemsSketch. newInstance(int k, ResizeFactor rf)
Construct a varopt sampling sketch with up to k samples using the specified resize factor. -
Uses of ResizeFactor in org.apache.datasketches.theta
Methods in org.apache.datasketches.theta that return ResizeFactor Modifier and Type Method Description ResizeFactor
SetOperationBuilder. getResizeFactor()
Returns the Resize Factorabstract ResizeFactor
UpdateSketch. getResizeFactor()
Returns the configured ResizeFactorResizeFactor
UpdateSketchBuilder. getResizeFactor()
Returns the Resize FactorMethods in org.apache.datasketches.theta with parameters of type ResizeFactor Modifier and Type Method Description SetOperationBuilder
SetOperationBuilder. setResizeFactor(ResizeFactor rf)
Sets the cache Resize FactorUpdateSketchBuilder
UpdateSketchBuilder. setResizeFactor(ResizeFactor rf)
Sets the cache Resize Factor. -
Uses of ResizeFactor in org.apache.datasketches.tuple
Methods in org.apache.datasketches.tuple with parameters of type ResizeFactor Modifier and Type Method Description UpdatableSketchBuilder<U,S>
UpdatableSketchBuilder. setResizeFactor(ResizeFactor resizeFactor)
This is to set the resize factor. -
Uses of ResizeFactor in org.apache.datasketches.tuple.arrayofdoubles
Methods in org.apache.datasketches.tuple.arrayofdoubles that return ResizeFactor Modifier and Type Method Description abstract ResizeFactor
ArrayOfDoublesUpdatableSketch. getResizeFactor()
Gets the configured resize factorMethods in org.apache.datasketches.tuple.arrayofdoubles with parameters of type ResizeFactor Modifier and Type Method Description ArrayOfDoublesUpdatableSketchBuilder
ArrayOfDoublesUpdatableSketchBuilder. setResizeFactor(ResizeFactor resizeFactor)
This is to set the resize factor. -
Uses of ResizeFactor in org.apache.datasketches.tuple.strings
Constructors in org.apache.datasketches.tuple.strings with parameters of type ResizeFactor Constructor Description ArrayOfStringsSketch(int lgK, ResizeFactor rf, float p)
Constructs new sketch with given ResizeFactor, p and lgK.
-