Package org.apache.iceberg.mr.mapreduce
Class IcebergSplit
- java.lang.Object
-
- org.apache.hadoop.mapreduce.InputSplit
-
- org.apache.iceberg.mr.mapreduce.IcebergSplit
-
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
,org.apache.hadoop.mapred.InputSplit
,IcebergSplitContainer
public class IcebergSplit extends org.apache.hadoop.mapreduce.InputSplit implements org.apache.hadoop.mapred.InputSplit, IcebergSplitContainer
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]
ANYWHERE
-
Constructor Summary
Constructors Constructor Description IcebergSplit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getLength()
java.lang.String[]
getLocations()
IcebergSplit
icebergSplit()
void
readFields(java.io.DataInput in)
Table
table()
CombinedScanTask
task()
void
write(java.io.DataOutput out)
-
-
-
Method Detail
-
task
public CombinedScanTask task()
-
icebergSplit
public IcebergSplit icebergSplit()
- Specified by:
icebergSplit
in interfaceIcebergSplitContainer
-
getLength
public long getLength()
- Specified by:
getLength
in interfaceorg.apache.hadoop.mapred.InputSplit
- Specified by:
getLength
in classorg.apache.hadoop.mapreduce.InputSplit
-
getLocations
public java.lang.String[] getLocations()
- Specified by:
getLocations
in interfaceorg.apache.hadoop.mapred.InputSplit
- Specified by:
getLocations
in classorg.apache.hadoop.mapreduce.InputSplit
-
write
public void write(java.io.DataOutput out) throws java.io.IOException
- Specified by:
write
in interfaceorg.apache.hadoop.io.Writable
- 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
- Throws:
java.io.IOException
-
table
public Table table()
-
-