org.apache.hadoop.hive.ql.index
Class HiveIndexedInputFormat

java.lang.Object
  extended by org.apache.hadoop.hive.ql.io.HiveInputFormat
      extended by org.apache.hadoop.hive.ql.index.HiveIndexedInputFormat
Direct Known Subclasses:
HiveCompactIndexInputFormat

public class HiveIndexedInputFormat
extends HiveInputFormat

Input format for doing queries that use indexes. Uses a blockfilter file to specify the blocks to query.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.io.HiveInputFormat
HiveInputFormat.HiveInputSplit
 
Field Summary
static org.apache.commons.logging.Log l4j
           
 
Fields inherited from class org.apache.hadoop.hive.ql.io.HiveInputFormat
inputFormats, LOG, pathToPartitionInfo
 
Constructor Summary
HiveIndexedInputFormat()
           
HiveIndexedInputFormat(String indexFileName)
           
 
Method Summary
 InputSplit[] doGetSplits(JobConf job, int numSplits)
           
static List<String> getIndexFiles(String indexFileStr)
           
 InputSplit[] getSplits(JobConf job, int numSplits)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.io.HiveInputFormat
configure, getInputFormatFromCache, getPartitionDescFromPath, getRecordReader, init, pushFilters, pushProjectionsAndFilters, pushProjectionsAndFilters, validateInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

l4j

public static final org.apache.commons.logging.Log l4j
Constructor Detail

HiveIndexedInputFormat

public HiveIndexedInputFormat()

HiveIndexedInputFormat

public HiveIndexedInputFormat(String indexFileName)
Method Detail

doGetSplits

public InputSplit[] doGetSplits(JobConf job,
                                int numSplits)
                         throws IOException
Throws:
IOException

getIndexFiles

public static List<String> getIndexFiles(String indexFileStr)

getSplits

public InputSplit[] getSplits(JobConf job,
                              int numSplits)
                       throws IOException
Overrides:
getSplits in class HiveInputFormat
Throws:
IOException


Copyright © 2012 The Apache Software Foundation