Package | Description |
---|---|
org.apache.datasketches.theta |
The theta package contains all the sketch classes that are members of the
Theta Sketch Framework.
|
Modifier and Type | Method and Description |
---|---|
static UpdateSketchBuilder |
UpdateSketch.builder()
Returns a new builder
|
UpdateSketchBuilder |
UpdateSketchBuilder.setFamily(Family family)
Set the Family.
|
UpdateSketchBuilder |
UpdateSketchBuilder.setLocalLogNominalEntries(int lgNomEntries)
Alternative method of setting the Nominal Entries for a local concurrent sketch from the
log_base2 value.
|
UpdateSketchBuilder |
UpdateSketchBuilder.setLocalNominalEntries(int nomEntries)
Sets the Nominal Entries for the concurrent local sketch.
|
UpdateSketchBuilder |
UpdateSketchBuilder.setLogNominalEntries(int lgNomEntries)
Alternative method of setting the Nominal Entries for this sketch from the log_base2 value.
|
UpdateSketchBuilder |
UpdateSketchBuilder.setMemoryRequestServer(org.apache.datasketches.memory.MemoryRequestServer memReqSvr)
Set the MemoryRequestServer
|
UpdateSketchBuilder |
UpdateSketchBuilder.setNominalEntries(int nomEntries)
Sets the Nominal Entries for this sketch.
|
UpdateSketchBuilder |
UpdateSketchBuilder.setP(float p)
Sets the upfront uniform sampling probability, p
|
UpdateSketchBuilder |
UpdateSketchBuilder.setPropagateOrderedCompact(boolean prop)
Sets the Propagate Ordered Compact flag to the given value.
|
UpdateSketchBuilder |
UpdateSketchBuilder.setResizeFactor(ResizeFactor rf)
Sets the cache Resize Factor.
|
UpdateSketchBuilder |
UpdateSketchBuilder.setSeed(long seed)
Sets the long seed value that is required by the hashing function.
|
static UpdateSketchBuilder |
Sketches.updateSketchBuilder()
Ref:
UpdateSketchBuilder |
Copyright © 2015–2021 The Apache Software Foundation. All rights reserved.