public abstract class KMVSketch extends DualSketch
Modifier and Type | Field and Description |
---|---|
static String |
META_STD_DEV_1 |
static String |
META_STD_DEV_2 |
static String |
META_STD_DEV_3 |
static String |
META_STD_DEV_LB |
static String |
META_STD_DEV_UB |
Constructor and Description |
---|
KMVSketch() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
addMetadata(Map<String,String> conceptKeys)
Adds the common metadata for this Sketch to
Map . |
protected abstract Double |
getLowerBound(int standardDeviation)
Gets the lower bound at this standard deviation after the last createResult.
|
protected abstract Double |
getTheta()
Gets the theta value for this sketch after the last createResult.
|
protected abstract Double |
getUpperBound(int standardDeviation)
Gets the uppper bound at this standard deviation after the last createResult.
|
merge, mergeBothSketches, mergeUnionSketch, mergeUpdateSketch, reset, union, unionedExistingResults, update
getFamily, getMetadata, getRecords, getResult, getSize, isEstimationMode, serialize, union
public static final String META_STD_DEV_1
public static final String META_STD_DEV_2
public static final String META_STD_DEV_3
public static final String META_STD_DEV_UB
public static final String META_STD_DEV_LB
protected abstract Double getTheta()
DualSketch.merge()
.protected abstract Double getLowerBound(int standardDeviation)
DualSketch.merge()
.standardDeviation
- The standard deviation.protected abstract Double getUpperBound(int standardDeviation)
DualSketch.merge()
.standardDeviation
- The standard deviation.protected Map<String,Object> addMetadata(Map<String,String> conceptKeys)
Sketch
Map
.addMetadata
in class Sketch
conceptKeys
- The Map
of Meta.Concept
names to their keys.Map
of sketch metadata.Copyright © 2021. All rights reserved.