public class AssignmentCreator<T extends CompleteWork> extends Object
Modifier and Type | Method and Description |
---|---|
static <T extends CompleteWork> |
getMappings(List<CoordinationProtos.DrillbitEndpoint> incomingEndpoints,
List<T> units)
Assign each unit of work to a minor fragment, given that a list of DrillbitEndpoints, whose index in the list correspond
to the minor fragment id for each fragment.
|
public static <T extends CompleteWork> org.apache.drill.shaded.guava.com.google.common.collect.ListMultimap<Integer,T> getMappings(List<CoordinationProtos.DrillbitEndpoint> incomingEndpoints, List<T> units)
incomingEndpoints
- The list of incomingEndpoints, indexed by minor fragment idunits
- the list of work units to be assignedCopyright © 1970 The Apache Software Foundation. All rights reserved.