org.apache.hadoop.hive.ql.exec
Class PartitionKeySampler
java.lang.Object
org.apache.hadoop.hive.ql.exec.PartitionKeySampler
- All Implemented Interfaces:
- org.apache.hadoop.mapred.OutputCollector<HiveKey,Object>
public class PartitionKeySampler
- extends Object
- implements org.apache.hadoop.mapred.OutputCollector<HiveKey,Object>
C
public static final Comparator<byte[]> C
PartitionKeySampler
public PartitionKeySampler()
addSampleFile
public void addSampleFile(org.apache.hadoop.fs.Path inputPath,
org.apache.hadoop.mapred.JobConf job)
throws IOException
- Throws:
IOException
collect
public void collect(HiveKey key,
Object value)
throws IOException
- Specified by:
collect
in interface org.apache.hadoop.mapred.OutputCollector<HiveKey,Object>
- Throws:
IOException
writePartitionKeys
public void writePartitionKeys(org.apache.hadoop.fs.Path path,
org.apache.hadoop.mapred.JobConf job)
throws IOException
- Throws:
IOException
createSampler
public static org.apache.hadoop.hive.ql.exec.PartitionKeySampler.FetchSampler createSampler(FetchWork work,
HiveConf conf,
org.apache.hadoop.mapred.JobConf job,
Operator<?> operator)
Copyright © 2014 The Apache Software Foundation. All rights reserved.