public interface NumDistinctValueEstimator
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Modifier and Type | Method and Description |
|---|---|
void |
addToEstimator(byte[] value,
int offset,
int length) |
void |
addToEstimator(double d) |
void |
addToEstimator(HiveDecimal decimal) |
void |
addToEstimator(long v) |
void |
addToEstimator(String s) |
boolean |
canMerge(NumDistinctValueEstimator o) |
NumDistinctValueEstimator |
deserialize(byte[] buf) |
long |
estimateNumDistinctValues() |
int |
lengthFor(JavaDataModel model) |
void |
mergeEstimators(NumDistinctValueEstimator o) |
void |
reset() |
byte[] |
serialize() |
void reset()
byte[] serialize()
NumDistinctValueEstimator deserialize(byte[] buf)
void addToEstimator(long v)
void addToEstimator(double d)
void addToEstimator(String s)
void addToEstimator(byte[] value,
int offset,
int length)
void addToEstimator(HiveDecimal decimal)
void mergeEstimators(NumDistinctValueEstimator o)
long estimateNumDistinctValues()
int lengthFor(JavaDataModel model)
boolean canMerge(NumDistinctValueEstimator o)
Copyright © 2024 The Apache Software Foundation. All rights reserved.