public class TruncateSimpleColStatsCollector extends AbstractSimpleColStatsCollector
BinaryString value.SimpleColStatsCollector.Factory| Modifier and Type | Field and Description |
|---|---|
static Pattern |
TRUNCATE_PATTERN |
maxValue, minValue, nullCount| Constructor and Description |
|---|
TruncateSimpleColStatsCollector(int length) |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(Object field,
Serializer<Object> fieldSerializer)
collect stats from the field.
|
SimpleColStats |
convert(SimpleColStats source)
Convert the col stats according to the strategy.
|
int |
getLength() |
SimpleColStats |
result() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, createFullStatsFactories, frompublic static final Pattern TRUNCATE_PATTERN
public TruncateSimpleColStatsCollector(int length)
public int getLength()
public void collect(Object field, Serializer<Object> fieldSerializer)
SimpleColStatsCollectorfield - The target field object.fieldSerializer - The serializer of the field object.public SimpleColStats convert(SimpleColStats source)
SimpleColStatsCollectorsource - The source col stats, extracted from the file.public SimpleColStats result()
result in interface SimpleColStatsCollectorresult in class AbstractSimpleColStatsCollectorCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.