T
- Java class of records constructed by Iceberg; default is Record
public class MapredIcebergInputFormat<T> extends java.lang.Object implements org.apache.hadoop.mapred.InputFormat<java.lang.Void,Container<T>>
Modifier and Type | Class and Description |
---|---|
static class |
MapredIcebergInputFormat.CompatibilityTaskAttemptContextImpl |
Constructor and Description |
---|
MapredIcebergInputFormat() |
Modifier and Type | Method and Description |
---|---|
static InputFormatConfig.ConfigBuilder |
configure(org.apache.hadoop.mapred.JobConf job)
Configures the
JobConf to use the MapredIcebergInputFormat and returns a helper
to add further configuration. |
org.apache.hadoop.mapred.RecordReader<java.lang.Void,Container<T>> |
getRecordReader(org.apache.hadoop.mapred.InputSplit split,
org.apache.hadoop.mapred.JobConf job,
org.apache.hadoop.mapred.Reporter reporter) |
org.apache.hadoop.mapred.InputSplit[] |
getSplits(org.apache.hadoop.mapred.JobConf job,
int numSplits) |
static org.apache.hadoop.mapreduce.TaskAttemptContext |
newTaskAttemptContext(org.apache.hadoop.mapred.JobConf job,
org.apache.hadoop.mapred.Reporter reporter) |
public static InputFormatConfig.ConfigBuilder configure(org.apache.hadoop.mapred.JobConf job)
JobConf
to use the MapredIcebergInputFormat
and returns a helper
to add further configuration.job
- the JobConf
to configurepublic org.apache.hadoop.mapred.InputSplit[] getSplits(org.apache.hadoop.mapred.JobConf job, int numSplits) throws java.io.IOException
public org.apache.hadoop.mapred.RecordReader<java.lang.Void,Container<T>> getRecordReader(org.apache.hadoop.mapred.InputSplit split, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.Reporter reporter) throws java.io.IOException
public static org.apache.hadoop.mapreduce.TaskAttemptContext newTaskAttemptContext(org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.Reporter reporter)