Package | Description |
---|---|
org.apache.datasketches.tuple.adouble |
Modifier and Type | Method and Description |
---|---|
static DoubleSummary.Mode |
DoubleSummary.Mode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DoubleSummary.Mode[] |
DoubleSummary.Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
DoubleSketch(int lgK,
DoubleSummary.Mode mode)
Constructs this sketch with given lgK.
|
DoubleSketch(int lgK,
int lgResizeFactor,
float samplingProbability,
DoubleSummary.Mode mode)
Creates this sketch with the following parameters:
|
DoubleSketch(org.apache.datasketches.memory.Memory mem,
DoubleSummary.Mode mode)
Constructs this sketch from a Memory image, which must be from an DoubleSketch, and
usually with data.
|
DoubleSummary(DoubleSummary.Mode mode)
Creates an instance of DoubleSummary with a given mode.
|
DoubleSummaryFactory(DoubleSummary.Mode summaryMode)
Creates an instance of DoubleSummaryFactory with a given mode
|
DoubleSummarySetOperations(DoubleSummary.Mode summaryMode)
Creates an instance given a DoubleSummary update mode where the mode is the same for both
union and intersection.
|
DoubleSummarySetOperations(DoubleSummary.Mode unionSummaryMode,
DoubleSummary.Mode intersectionSummaryMode)
Creates an instance with two modes.
|
Copyright © 2015–2021 The Apache Software Foundation. All rights reserved.