Modifier and Type | Field and Description |
---|---|
static Comparator<byte[]> |
C |
Constructor and Description |
---|
PartitionKeySampler() |
Modifier and Type | Method and Description |
---|---|
void |
addSampleFile(org.apache.hadoop.fs.Path inputPath,
org.apache.hadoop.mapred.JobConf job) |
void |
collect(HiveKey key,
Object value) |
static FetchOperator |
createSampler(FetchWork work,
org.apache.hadoop.mapred.JobConf job,
Operator<?> operator) |
void |
writePartitionKeys(org.apache.hadoop.fs.Path path,
org.apache.hadoop.mapred.JobConf job) |
public static final Comparator<byte[]> C
public void addSampleFile(org.apache.hadoop.fs.Path inputPath, org.apache.hadoop.mapred.JobConf job) throws IOException
IOException
public void collect(HiveKey key, Object value) throws IOException
collect
in interface org.apache.hadoop.mapred.OutputCollector<HiveKey,Object>
IOException
public void writePartitionKeys(org.apache.hadoop.fs.Path path, org.apache.hadoop.mapred.JobConf job) throws IOException
IOException
public static FetchOperator createSampler(FetchWork work, org.apache.hadoop.mapred.JobConf job, Operator<?> operator) throws HiveException
HiveException
Copyright © 2017 The Apache Software Foundation. All rights reserved.