public class DatasourceInputSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable
| Constructor and Description | 
|---|
DatasourceInputSplit()  | 
DatasourceInputSplit(List<WindowedDataSegment> segments,
                    String[] locations)  | 
| Modifier and Type | Method and Description | 
|---|---|
long | 
getLength()  | 
String[] | 
getLocations()  | 
List<WindowedDataSegment> | 
getSegments()  | 
void | 
readFields(DataInput in)  | 
void | 
write(DataOutput out)  | 
public DatasourceInputSplit()
public DatasourceInputSplit(@NotNull
                            List<WindowedDataSegment> segments,
                            String[] locations)
public 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 List<WindowedDataSegment> getSegments()
public 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 © 2011–2018. All rights reserved.