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>>
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) |
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