@Override public List<DataMapDistributableWrapper> toDistributable(List<Segment> segments) throws IOException { List<DataMapDistributableWrapper> wrappers = new ArrayList<>(); wrappers.addAll(left.toDistributable(segments)); wrappers.addAll(right.toDistributable(segments)); return wrappers; }
@Override public List<DataMapDistributableWrapper> toDistributable(List<Segment> segments) throws IOException { List<DataMapDistributableWrapper> wrappers = new ArrayList<>(); wrappers.addAll(left.toDistributable(segments)); wrappers.addAll(right.toDistributable(segments)); return wrappers; }
@Override public List<InputSplit> getSplits(JobContext job) throws IOException { List<DataMapDistributableWrapper> distributables = dataMapExprWrapper.toDistributable(validSegments); List<InputSplit> inputSplits = new ArrayList<>(distributables.size()); inputSplits.addAll(distributables); return inputSplits; }
List<DataMapDistributableWrapper> distributables = datamap.toDistributable(segments); List<ExtendedBlocklet> prunnedBlocklets = new LinkedList<ExtendedBlocklet>(); for (int i = 0; i < distributables.size(); i++) {