public class CarbonRawDataInputSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
CarbonRawDataInputSplit(long length,
String[] locations) |
| Modifier and Type | Method and Description |
|---|---|
static CarbonRawDataInputSplit |
from(org.apache.hadoop.mapred.FileSplit split) |
long |
getLength() |
String[] |
getLocations() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
public CarbonRawDataInputSplit(long length,
String[] locations)
public static CarbonRawDataInputSplit from(org.apache.hadoop.mapred.FileSplit split) throws IOException
IOExceptionpublic long getLength()
throws IOException,
InterruptedException
getLength in class org.apache.hadoop.mapreduce.InputSplitIOExceptionInterruptedExceptionpublic String[] getLocations() throws IOException, InterruptedException
getLocations in class org.apache.hadoop.mapreduce.InputSplitIOExceptionInterruptedExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.