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
- All Implemented Interfaces:
- org.apache.hadoop.mapred.InputFormat, org.apache.hadoop.mapred.JobConfigurable
- 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
|
Method Summary |
org.apache.hadoop.mapred.InputSplit[] |
doGetSplits(org.apache.hadoop.mapred.JobConf job,
int numSplits)
|
static List<String> |
getIndexFiles(String indexFileStr)
|
org.apache.hadoop.mapred.InputSplit[] |
getSplits(org.apache.hadoop.mapred.JobConf job,
int numSplits)
|
l4j
public static final org.apache.commons.logging.Log l4j
HiveIndexedInputFormat
public HiveIndexedInputFormat()
HiveIndexedInputFormat
public HiveIndexedInputFormat(String indexFileName)
doGetSplits
public org.apache.hadoop.mapred.InputSplit[] doGetSplits(org.apache.hadoop.mapred.JobConf job,
int numSplits)
throws IOException
- Throws:
IOException
getIndexFiles
public static List<String> getIndexFiles(String indexFileStr)
getSplits
public org.apache.hadoop.mapred.InputSplit[] getSplits(org.apache.hadoop.mapred.JobConf job,
int numSplits)
throws IOException
- Specified by:
getSplits
in interface org.apache.hadoop.mapred.InputFormat
- Overrides:
getSplits
in class HiveInputFormat
- Throws:
IOException
Copyright © 2014 The Apache Software Foundation. All rights reserved.