public class TruncateSimpleColStatsCollector extends AbstractSimpleColStatsCollector
BinaryString value.SimpleColStatsCollector.Factory| 限定符和类型 | 字段和说明 |
|---|---|
static Pattern |
TRUNCATE_PATTERN |
maxValue, minValue, nullCount| 构造器和说明 |
|---|
TruncateSimpleColStatsCollector(int length) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 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 在接口中 SimpleColStatsCollectorresult 在类中 AbstractSimpleColStatsCollectorCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.