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, wait
create, createFullStatsFactories, from
public static final Pattern TRUNCATE_PATTERN
public TruncateSimpleColStatsCollector(int length)
public int getLength()
public void collect(Object field, Serializer<Object> fieldSerializer)
SimpleColStatsCollector
field
- The target field object.fieldSerializer
- The serializer of the field object.public SimpleColStats convert(SimpleColStats source)
SimpleColStatsCollector
source
- The source col stats, extracted from the file.public SimpleColStats result()
result
in interface SimpleColStatsCollector
result
in class AbstractSimpleColStatsCollector
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.