Package org.apache.iceberg.pig
Class IcebergPigInputFormat.IcebergRecordReader<T>
- java.lang.Object
-
- org.apache.hadoop.mapreduce.RecordReader<java.lang.Void,T>
-
- org.apache.iceberg.pig.IcebergPigInputFormat.IcebergRecordReader<T>
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- IcebergPigInputFormat<T>
public class IcebergPigInputFormat.IcebergRecordReader<T> extends org.apache.hadoop.mapreduce.RecordReader<java.lang.Void,T>
-
-
Constructor Summary
Constructors Constructor Description IcebergRecordReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.lang.Void
getCurrentKey()
T
getCurrentValue()
float
getProgress()
void
initialize(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext initContext)
boolean
nextKeyValue()
-
-
-
Method Detail
-
initialize
public void initialize(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext initContext) throws java.io.IOException
- Specified by:
initialize
in classorg.apache.hadoop.mapreduce.RecordReader<java.lang.Void,T>
- Throws:
java.io.IOException
-
nextKeyValue
public boolean nextKeyValue() throws java.io.IOException
- Specified by:
nextKeyValue
in classorg.apache.hadoop.mapreduce.RecordReader<java.lang.Void,T>
- Throws:
java.io.IOException
-
getCurrentKey
public java.lang.Void getCurrentKey()
- Specified by:
getCurrentKey
in classorg.apache.hadoop.mapreduce.RecordReader<java.lang.Void,T>
-
getCurrentValue
public T getCurrentValue()
- Specified by:
getCurrentValue
in classorg.apache.hadoop.mapreduce.RecordReader<java.lang.Void,T>
-
getProgress
public float getProgress()
- Specified by:
getProgress
in classorg.apache.hadoop.mapreduce.RecordReader<java.lang.Void,T>
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in classorg.apache.hadoop.mapreduce.RecordReader<java.lang.Void,T>
-
-