public static class CompressingMetaIndex.CompressingMetaIndexInputFormat extends Object implements org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.IntWritable,Wrapper<String[]>>
Constructor and Description |
---|
CompressingMetaIndex.CompressingMetaIndexInputFormat() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.IntWritable,Wrapper<String[]>> |
getRecordReader(org.apache.hadoop.mapred.InputSplit _split,
org.apache.hadoop.mapred.JobConf jc,
org.apache.hadoop.mapred.Reporter reporter) |
org.apache.hadoop.mapred.InputSplit[] |
getSplits(org.apache.hadoop.mapred.JobConf jc,
int advisedNumberOfSplits) |
void |
overrideDataFileBlockSize(long blocksize)
Permit the blocksize to be overridden, useful for testing different code paths
|
static void |
setStructure(org.apache.hadoop.mapred.JobConf jc,
String metaStructureName)
Set structure
|
void |
validateInput(org.apache.hadoop.mapred.JobConf jc)
Validates the structure based on the job configuration
|
public CompressingMetaIndex.CompressingMetaIndexInputFormat()
public static void setStructure(org.apache.hadoop.mapred.JobConf jc, String metaStructureName)
jc
- metaStructureName
- public org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.IntWritable,Wrapper<String[]>> getRecordReader(org.apache.hadoop.mapred.InputSplit _split, org.apache.hadoop.mapred.JobConf jc, org.apache.hadoop.mapred.Reporter reporter) throws IOException
getRecordReader
in interface org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.IntWritable,Wrapper<String[]>>
IOException
public org.apache.hadoop.mapred.InputSplit[] getSplits(org.apache.hadoop.mapred.JobConf jc, int advisedNumberOfSplits) throws IOException
getSplits
in interface org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.IntWritable,Wrapper<String[]>>
IOException
public void overrideDataFileBlockSize(long blocksize)
public void validateInput(org.apache.hadoop.mapred.JobConf jc) throws IOException
IOException
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow