public interface SimpleColStatsCollector
Modifier and Type | Interface and Description |
---|---|
static interface |
SimpleColStatsCollector.Factory
Factory to create
SimpleColStatsCollector . |
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.
|
static SimpleColStatsCollector[] |
create(SimpleColStatsCollector.Factory[] factories) |
static SimpleColStatsCollector.Factory[] |
createFullStatsFactories(int numFields) |
static SimpleColStatsCollector.Factory |
from(String option) |
SimpleColStats |
result() |
void collect(Object field, Serializer<Object> fieldSerializer)
field
- The target field object.fieldSerializer
- The serializer of the field object.SimpleColStats result()
SimpleColStats convert(SimpleColStats source)
source
- The source col stats, extracted from the file.static SimpleColStatsCollector[] create(SimpleColStatsCollector.Factory[] factories)
static SimpleColStatsCollector.Factory from(String option)
static SimpleColStatsCollector.Factory[] createFullStatsFactories(int numFields)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.