org.apache.hadoop.hive.ql.index
Class HiveIndexedInputFormat
java.lang.Object
org.apache.hadoop.hive.ql.io.HiveInputFormat
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.
Field Summary |
static org.apache.commons.logging.Log |
l4j
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
l4j
public static final org.apache.commons.logging.Log l4j
HiveIndexedInputFormat
public HiveIndexedInputFormat()
HiveIndexedInputFormat
public HiveIndexedInputFormat(String indexFileName)
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