public class DatasourceInputSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable
Constructor and Description |
---|
DatasourceInputSplit() |
DatasourceInputSplit(List<WindowedDataSegment> segments) |
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)
public long getLength() throws IOException, InterruptedException
getLength
in class org.apache.hadoop.mapreduce.InputSplit
IOException
InterruptedException
public String[] getLocations() throws IOException, InterruptedException
getLocations
in class org.apache.hadoop.mapreduce.InputSplit
IOException
InterruptedException
public List<WindowedDataSegment> getSegments()
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2011–2015. All rights reserved.