| Constructor and Description |
|---|
FragmentExecutor(FragmentContext context,
BitControl.PlanFragment fragment,
FragmentStatusReporter statusReporter)
Create a FragmentExecutor where we need to parse and materialize the root operator.
|
FragmentExecutor(FragmentContext context,
BitControl.PlanFragment fragment,
FragmentStatusReporter statusReporter,
FragmentRoot rootOperator)
Create a FragmentExecutor where we already have a root operator in memory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel the execution of this fragment is in an appropriate state.
|
FragmentContext |
getContext() |
BitControl.FragmentStatus |
getStatus()
Returns the current fragment status if the fragment is running.
|
void |
receivingFragmentFinished(ExecProtos.FragmentHandle handle)
Inform this fragment that one of its downstream partners no longer needs additional records.
|
void |
run() |
String |
toString() |
void |
unpause()
Resume all the pauses within the current context.
|
public FragmentExecutor(FragmentContext context, BitControl.PlanFragment fragment, FragmentStatusReporter statusReporter)
context - fragment - statusReporter - public FragmentExecutor(FragmentContext context, BitControl.PlanFragment fragment, FragmentStatusReporter statusReporter, FragmentRoot rootOperator)
context - fragment - statusReporter - rootOperator - public BitControl.FragmentStatus getStatus()
public void cancel()
public void unpause()
public void receivingFragmentFinished(ExecProtos.FragmentHandle handle)
handle - The downstream FragmentHandle of the Fragment that needs no more records from this Fragment.public FragmentContext getContext()
Copyright © 2017 The Apache Software Foundation. All rights reserved.