public class ColStatsProcessor extends Object implements IStatsProcessor
| Modifier and Type | Class and Description |
|---|---|
static class |
ColStatsProcessor.ColumnStatsField
Enumeration of column stats fields that can currently
be computed.
|
static class |
ColStatsProcessor.ColumnStatsType
Enumeration of column stats type.
|
| Constructor and Description |
|---|
ColStatsProcessor(ColumnStatsDesc colStats,
HiveConf conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(CompilationOpContext opContext) |
int |
persistColumnStats(Hive db,
Table tbl) |
int |
process(Hive db,
Table tbl) |
void |
setDpPartSpecs(Collection<Partition> dpPartSpecs) |
public ColStatsProcessor(ColumnStatsDesc colStats, HiveConf conf)
public void initialize(CompilationOpContext opContext)
initialize in interface IStatsProcessorpublic int process(Hive db, Table tbl) throws Exception
process in interface IStatsProcessorExceptionpublic int persistColumnStats(Hive db, Table tbl) throws HiveException, org.apache.hadoop.hive.metastore.api.MetaException, IOException
public void setDpPartSpecs(Collection<Partition> dpPartSpecs)
setDpPartSpecs in interface IStatsProcessorCopyright © 2022 The Apache Software Foundation. All rights reserved.