public class Wrapper extends Object
| Constructor and Description |
|---|
Wrapper(Fragment node,
int majorFragmentId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllocation(PhysicalOperator pop) |
void |
addFragmentDependency(Wrapper dependsOn)
Add a parallelization dependency on given fragment.
|
void |
assignEndpoints(List<CoordinationProtos.DrillbitEndpoint> assignedEndpoints) |
CoordinationProtos.DrillbitEndpoint |
getAssignedEndpoint(int minorFragmentId) |
List<CoordinationProtos.DrillbitEndpoint> |
getAssignedEndpoints() |
List<Wrapper> |
getFragmentDependencies()
Get the list of fragements this particular fragment depends for determining its
|
long |
getInitialAllocation() |
int |
getMajorFragmentId() |
long |
getMaxAllocation() |
Fragment |
getNode() |
Stats |
getStats() |
int |
getWidth() |
boolean |
isEndpointsAssignmentDone()
Is the endpoints assignment done for this fragment?
|
void |
resetAllocation() |
void |
setWidth(int width) |
String |
toString() |
public Wrapper(Fragment node, int majorFragmentId)
public Stats getStats()
public void resetAllocation()
public int getMajorFragmentId()
public int getWidth()
public void setWidth(int width)
public Fragment getNode()
public long getInitialAllocation()
public long getMaxAllocation()
public void addAllocation(PhysicalOperator pop)
public void assignEndpoints(List<CoordinationProtos.DrillbitEndpoint> assignedEndpoints) throws PhysicalOperatorSetupException
PhysicalOperatorSetupExceptionpublic List<CoordinationProtos.DrillbitEndpoint> getAssignedEndpoints()
public CoordinationProtos.DrillbitEndpoint getAssignedEndpoint(int minorFragmentId)
public void addFragmentDependency(Wrapper dependsOn)
dependsOn - public boolean isEndpointsAssignmentDone()
Copyright © 2017 The Apache Software Foundation. All rights reserved.