public class CarbonInputSplitTaskInfo extends Object implements org.apache.carbondata.core.datastore.block.Distributable
| Constructor and Description |
|---|
CarbonInputSplitTaskInfo(String taskId,
List<CarbonInputSplit> carbonSplitListInfo) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(org.apache.carbondata.core.datastore.block.Distributable o) |
boolean |
equals(Object obj) |
List<CarbonInputSplit> |
getCarbonInputSplitList() |
String[] |
getLocations() |
String |
getTaskId() |
int |
hashCode() |
static List<String> |
maxNoNodes(List<CarbonInputSplit> splitList)
Finding which node has the maximum number of blocks for it.
|
public CarbonInputSplitTaskInfo(String taskId, List<CarbonInputSplit> carbonSplitListInfo)
public String getTaskId()
public List<CarbonInputSplit> getCarbonInputSplitList()
public String[] getLocations()
getLocations in interface org.apache.carbondata.core.datastore.block.Distributablepublic int compareTo(org.apache.carbondata.core.datastore.block.Distributable o)
compareTo in interface Comparable<org.apache.carbondata.core.datastore.block.Distributable>public static List<String> maxNoNodes(List<CarbonInputSplit> splitList)
splitList - Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.