Uses of Enum Class
org.apache.datasketches.common.ResizeFactor
Packages that use ResizeFactor
Package
Description
This package is for common classes that may be used across all the sketch families.
This package is dedicated to streaming algorithms that enable fixed size, uniform sampling of
weighted and unweighted items from a stream.
The theta package contains the basic sketch classes that are members of the
Theta-Sketch Framework.
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.
This package is for a concrete implementation of the Tuple sketch for an array of double values.
This package is for a generic implementation of the Tuple sketch for single String value.
-
Uses of ResizeFactor in org.apache.datasketches.common
Subclasses with type arguments of type ResizeFactor in org.apache.datasketches.commonModifier and TypeClassDescriptionenumFor the Families that accept this configuration parameter, it controls the size multiple that affects how fast the internal cache grows, when more space is required.Methods in org.apache.datasketches.common that return ResizeFactorModifier and TypeMethodDescriptionstatic ResizeFactorResizeFactor.getRF(int lg) Returns the Resize Factor given the Log-base 2 of the Resize Factorstatic ResizeFactorReturns the enum constant of this class with the specified name.static ResizeFactor[]ResizeFactor.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of ResizeFactor in org.apache.datasketches.sampling
Methods in org.apache.datasketches.sampling with parameters of type ResizeFactorModifier and TypeMethodDescriptionstatic <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 ReservoirLongsSketchReservoirLongsSketch.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 ResizeFactorModifier and TypeMethodDescriptionThetaSetOperationBuilder.getResizeFactor()Returns the Resize Factorabstract ResizeFactorUpdatableThetaSketch.getResizeFactor()Returns the configured ResizeFactorUpdatableThetaSketchBuilder.getResizeFactor()Returns the local Resize FactorMethods in org.apache.datasketches.theta with parameters of type ResizeFactorModifier and TypeMethodDescriptionThetaSetOperationBuilder.setResizeFactor(ResizeFactor rf) Sets the cache Resize FactorUpdatableThetaSketchBuilder.setResizeFactor(ResizeFactor rf) Sets the local cache Resize Factor. -
Uses of ResizeFactor in org.apache.datasketches.tuple
Methods in org.apache.datasketches.tuple with parameters of type ResizeFactorModifier and TypeMethodDescriptionUpdatableTupleSketchBuilder.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 ResizeFactorModifier and TypeMethodDescriptionabstract ResizeFactorArrayOfDoublesUpdatableSketch.getResizeFactor()Gets the configured resize factorMethods in org.apache.datasketches.tuple.arrayofdoubles with parameters of type ResizeFactorModifier and TypeMethodDescriptionArrayOfDoublesUpdatableSketchBuilder.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 ResizeFactorModifierConstructorDescriptionArrayOfStringsTupleSketch(int lgK, ResizeFactor rf, float p) Constructs new sketch with given ResizeFactor, p and lgK.