Package org.apache.iceberg.mr.hive
Class HiveIcebergSplit
- java.lang.Object
-
- org.apache.hadoop.mapreduce.InputSplit
-
- org.apache.hadoop.mapred.FileSplit
-
- org.apache.iceberg.mr.hive.HiveIcebergSplit
-
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
,org.apache.hadoop.mapred.InputSplit
,org.apache.hadoop.mapred.InputSplitWithLocationInfo
,IcebergSplitContainer
public class HiveIcebergSplit extends org.apache.hadoop.mapred.FileSplit implements IcebergSplitContainer
-
-
Constructor Summary
Constructors Constructor Description HiveIcebergSplit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getLength()
java.lang.String[]
getLocations()
org.apache.hadoop.fs.Path
getPath()
long
getStart()
IcebergSplit
icebergSplit()
void
readFields(java.io.DataInput in)
void
write(java.io.DataOutput out)
-
-
-
Method Detail
-
icebergSplit
public IcebergSplit icebergSplit()
- Specified by:
icebergSplit
in interfaceIcebergSplitContainer
-
getLength
public long getLength()
- Specified by:
getLength
in interfaceorg.apache.hadoop.mapred.InputSplit
- Overrides:
getLength
in classorg.apache.hadoop.mapred.FileSplit
-
getLocations
public java.lang.String[] getLocations()
- Specified by:
getLocations
in interfaceorg.apache.hadoop.mapred.InputSplit
- Overrides:
getLocations
in classorg.apache.hadoop.mapred.FileSplit
-
getPath
public org.apache.hadoop.fs.Path getPath()
- Overrides:
getPath
in classorg.apache.hadoop.mapred.FileSplit
-
getStart
public long getStart()
- Overrides:
getStart
in classorg.apache.hadoop.mapred.FileSplit
-
write
public void write(java.io.DataOutput out) throws java.io.IOException
- Specified by:
write
in interfaceorg.apache.hadoop.io.Writable
- Overrides:
write
in classorg.apache.hadoop.mapred.FileSplit
- Throws:
java.io.IOException
-
readFields
public void readFields(java.io.DataInput in) throws java.io.IOException
- Specified by:
readFields
in interfaceorg.apache.hadoop.io.Writable
- Overrides:
readFields
in classorg.apache.hadoop.mapred.FileSplit
- Throws:
java.io.IOException
-
-