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.InputSplit
IOException
InterruptedException
public String[] getLocations() throws IOException, InterruptedException
getLocations
in class org.apache.hadoop.mapreduce.InputSplit
IOException
InterruptedException
protected io.druid.timeline.DataSegment getDataSegment()
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.