org.apache.hadoop.hive.ql.exec
Class PartitionKeySampler

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.PartitionKeySampler

public class PartitionKeySampler
extends Object


Field Summary
static Comparator<byte[]> C
           
 
Constructor Summary
PartitionKeySampler()
           
 
Method Summary
 void addSampleFile(Path inputPath, JobConf job)
           
 void collect(HiveKey key, Object value)
           
static org.apache.hadoop.hive.ql.exec.PartitionKeySampler.FetchSampler createSampler(FetchWork work, HiveConf conf, JobConf job, Operator<?> operator)
           
 void writePartitionKeys(Path path, JobConf job)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

C

public static final Comparator<byte[]> C
Constructor Detail

PartitionKeySampler

public PartitionKeySampler()
Method Detail

addSampleFile

public void addSampleFile(Path inputPath,
                          JobConf job)
                   throws IOException
Throws:
IOException

collect

public void collect(HiveKey key,
                    Object value)
             throws IOException
Throws:
IOException

writePartitionKeys

public void writePartitionKeys(Path path,
                               JobConf job)
                        throws IOException
Throws:
IOException

createSampler

public static org.apache.hadoop.hive.ql.exec.PartitionKeySampler.FetchSampler createSampler(FetchWork work,
                                                                                            HiveConf conf,
                                                                                            JobConf job,
                                                                                            Operator<?> operator)


Copyright © 2012 The Apache Software Foundation