public static class CombineAvroInputFormat.WrapperReader
extends org.apache.hadoop.mapreduce.lib.input.CombineFileRecordReaderWrapper<org.apache.hadoop.io.NullWritable,co.cask.cdap.api.data.format.StructuredRecord>
PathTrackingInputFormat. All it does is pick the i'th path in the CombineFileSplit to create a
FileSplit and use the delegate RecordReader to read that split.| Constructor and Description |
|---|
WrapperReader(org.apache.hadoop.mapreduce.lib.input.CombineFileSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context,
Integer idx) |
public WrapperReader(org.apache.hadoop.mapreduce.lib.input.CombineFileSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context,
Integer idx)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionCopyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.