public class ColStatsProcessor extends Object implements IStatsProcessor
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 IStatsProcessor
public int process(Hive db, Table tbl) throws Exception
process
in interface IStatsProcessor
Exception
public int persistColumnStats(Hive db, Table tbl) throws HiveException, MetaException, IOException
HiveException
MetaException
IOException
public void setDpPartSpecs(Collection<Partition> dpPartSpecs)
setDpPartSpecs
in interface IStatsProcessor
Copyright © 2019 The Apache Software Foundation. All rights reserved.