| Package | Description |
|---|---|
| io.prestosql.cost | |
| io.prestosql.event | |
| io.prestosql.execution | |
| io.prestosql.execution.scheduler | |
| io.prestosql.sql.planner.planprinter |
| Modifier and Type | Method and Description |
|---|---|
static StatsAndCosts |
StatsAndCosts.create(StageInfo stageInfo) |
| Constructor and Description |
|---|
QueryMonitor(io.airlift.json.JsonCodec<StageInfo> stageInfoCodec,
io.airlift.json.JsonCodec<OperatorStats> operatorStatsCodec,
io.airlift.json.JsonCodec<ExecutionFailureInfo> executionFailureInfoCodec,
io.airlift.json.JsonCodec<StatsAndCosts> statsAndCostsCodec,
EventListenerManager eventListenerManager,
io.airlift.node.NodeInfo nodeInfo,
NodeVersion nodeVersion,
SessionPropertyManager sessionPropertyManager,
Metadata metadata,
QueryMonitorConfig config) |
| Modifier and Type | Method and Description |
|---|---|
StageInfo |
SqlStageExecution.getStageInfo() |
StageInfo |
StageStateMachine.getStageInfo(Supplier<Iterable<TaskInfo>> taskInfosSupplier) |
| Modifier and Type | Method and Description |
|---|---|
static List<StageInfo> |
StageInfo.getAllStages(Optional<StageInfo> stageInfo) |
Optional<StageInfo> |
QueryInfo.getOutputStage() |
List<StageInfo> |
StageInfo.getSubStages() |
| Modifier and Type | Method and Description |
|---|---|
void |
StageStateMachine.addFinalStageInfoListener(StateMachine.StateChangeListener<StageInfo> finalStatusListener)
Add a listener for the final stage info.
|
void |
SqlStageExecution.addFinalStageInfoListener(StateMachine.StateChangeListener<StageInfo> stateChangeListener)
Add a listener for the final stage info.
|
static List<StageInfo> |
StageInfo.getAllStages(Optional<StageInfo> stageInfo) |
QueryInfo |
QueryStateMachine.updateQueryInfo(Optional<StageInfo> stageInfo) |
| Constructor and Description |
|---|
QueryInfo(QueryId queryId,
SessionRepresentation session,
QueryState state,
MemoryPoolId memoryPool,
boolean scheduled,
URI self,
List<String> fieldNames,
String query,
QueryStats queryStats,
Optional<String> setCatalog,
Optional<String> setSchema,
Optional<String> setPath,
Map<String,String> setSessionProperties,
Set<String> resetSessionProperties,
Map<String,SelectedRole> setRoles,
Map<String,String> addedPreparedStatements,
Set<String> deallocatedPreparedStatements,
Optional<TransactionId> startedTransactionId,
boolean clearTransactionId,
String updateType,
Optional<StageInfo> outputStage,
ExecutionFailureInfo failureInfo,
ErrorCode errorCode,
List<PrestoWarning> warnings,
Set<Input> inputs,
Optional<Output> output,
boolean completeInfo,
Optional<ResourceGroupId> resourceGroupId) |
StageInfo(StageId stageId,
StageState state,
URI self,
PlanFragment plan,
List<Type> types,
StageStats stageStats,
List<TaskInfo> tasks,
List<StageInfo> subStages,
ExecutionFailureInfo failureCause) |
| Modifier and Type | Method and Description |
|---|---|
StageInfo |
SqlQueryScheduler.getStageInfo() |
| Modifier and Type | Method and Description |
|---|---|
static String |
PlanPrinter.textDistributedPlan(StageInfo outputStageInfo,
FunctionRegistry functionRegistry,
Optional<Metadata> metadata,
Session session,
boolean verbose) |
| Modifier and Type | Method and Description |
|---|---|
static Map<PlanNodeId,PlanNodeStats> |
PlanNodeStatsSummarizer.aggregateStageStats(List<StageInfo> stageInfos) |
Copyright © 2012–2019. All rights reserved.