Class FragmentInstanceManager
- java.lang.Object
-
- org.apache.iotdb.db.mpp.execution.fragment.FragmentInstanceManager
-
public class FragmentInstanceManager extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FragmentInstanceInfoabortFragmentInstance(FragmentInstanceId fragmentInstanceId)Aborts a FragmentInstance.FragmentInstanceInfocancelTask(FragmentInstanceId instanceId)Cancels a FragmentInstance.FragmentInstanceInfoexecDataQueryFragmentInstance(FragmentInstance instance, DataRegion dataRegion)FragmentInstanceInfoexecSchemaQueryFragmentInstance(FragmentInstance instance, ISchemaRegion schemaRegion)io.airlift.stats.CounterStatgetFailedInstances()static FragmentInstanceManagergetInstance()FragmentInstanceInfogetInstanceInfo(FragmentInstanceId instanceId)Gets the info for the specified fragment instance.
-
-
-
Method Detail
-
getInstance
public static FragmentInstanceManager getInstance()
-
execDataQueryFragmentInstance
public FragmentInstanceInfo execDataQueryFragmentInstance(FragmentInstance instance, DataRegion dataRegion)
-
execSchemaQueryFragmentInstance
public FragmentInstanceInfo execSchemaQueryFragmentInstance(FragmentInstance instance, ISchemaRegion schemaRegion)
-
abortFragmentInstance
public FragmentInstanceInfo abortFragmentInstance(FragmentInstanceId fragmentInstanceId)
Aborts a FragmentInstance. keep FragmentInstanceContext for later state tracking
-
cancelTask
public FragmentInstanceInfo cancelTask(FragmentInstanceId instanceId)
Cancels a FragmentInstance.
-
getInstanceInfo
public FragmentInstanceInfo getInstanceInfo(FragmentInstanceId instanceId)
Gets the info for the specified fragment instance.NOTE: this design assumes that only fragment instances that will eventually exist are queried.
-
getFailedInstances
public io.airlift.stats.CounterStat getFailedInstances()
-
-