public class CarbonInputSplit extends org.apache.hadoop.mapreduce.lib.input.FileSplit implements Serializable, org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
CarbonInputSplit() |
CarbonInputSplit(String segmentId,
org.apache.hadoop.fs.Path path,
long start,
long length,
String[] locations) |
| Modifier and Type | Method and Description |
|---|---|
static CarbonInputSplit |
from(String segmentId,
org.apache.hadoop.mapreduce.lib.input.FileSplit split) |
String |
getSegmentId() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
public static CarbonInputSplit from(String segmentId, org.apache.hadoop.mapreduce.lib.input.FileSplit split) throws IOException
IOExceptionpublic String getSegmentId()
public void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritablereadFields in class org.apache.hadoop.mapreduce.lib.input.FileSplitIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.Writablewrite in class org.apache.hadoop.mapreduce.lib.input.FileSplitIOExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.