public class CarbonMultiBlockSplit extends org.apache.hadoop.mapreduce.InputSplit implements Serializable, org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
CarbonMultiBlockSplit() |
CarbonMultiBlockSplit(List<CarbonInputSplit> splitList,
String[] locations) |
CarbonMultiBlockSplit(List<CarbonInputSplit> splitList,
String[] locations,
org.apache.carbondata.core.statusmanager.FileFormat fileFormat) |
CarbonMultiBlockSplit(List<org.apache.carbondata.core.datastore.block.Distributable> blocks,
String hostname) |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateLength() |
List<CarbonInputSplit> |
getAllSplits()
Return all splits for scan
|
org.apache.carbondata.core.statusmanager.FileFormat |
getFileFormat() |
long |
getLength() |
String[] |
getLocations() |
void |
readFields(DataInput in) |
void |
setFileFormat(org.apache.carbondata.core.statusmanager.FileFormat fileFormat) |
void |
setLength(long length) |
void |
write(DataOutput out) |
public CarbonMultiBlockSplit()
public CarbonMultiBlockSplit(List<org.apache.carbondata.core.datastore.block.Distributable> blocks, String hostname)
public CarbonMultiBlockSplit(List<CarbonInputSplit> splitList, String[] locations)
public CarbonMultiBlockSplit(List<CarbonInputSplit> splitList, String[] locations, org.apache.carbondata.core.statusmanager.FileFormat fileFormat)
public List<CarbonInputSplit> getAllSplits()
public long getLength()
getLength in class org.apache.hadoop.mapreduce.InputSplitpublic void setLength(long length)
public void calculateLength()
public String[] getLocations()
getLocations in class org.apache.hadoop.mapreduce.InputSplitpublic 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.WritableIOExceptionpublic org.apache.carbondata.core.statusmanager.FileFormat getFileFormat()
public void setFileFormat(org.apache.carbondata.core.statusmanager.FileFormat fileFormat)
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.