public static class HadoopConverterJob.DataSegmentSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
HadoopConverterJob.DataSegmentSplit() |
HadoopConverterJob.DataSegmentSplit(io.druid.timeline.DataSegment dataSegment) |
| Modifier and Type | Method and Description |
|---|---|
protected io.druid.timeline.DataSegment |
getDataSegment() |
long |
getLength() |
String[] |
getLocations() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
public HadoopConverterJob.DataSegmentSplit()
public HadoopConverterJob.DataSegmentSplit(@NotNull
io.druid.timeline.DataSegment dataSegment)
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.InputSplitIOExceptionInterruptedExceptionprotected io.druid.timeline.DataSegment getDataSegment()
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–2015. All rights reserved.