com.facebook.presto.execution.QueryManager.cancelStage()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(122)

本文整理了Java中com.facebook.presto.execution.QueryManager.cancelStage方法的一些代码示例,展示了QueryManager.cancelStage的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QueryManager.cancelStage方法的具体详情如下:
包路径:com.facebook.presto.execution.QueryManager
类名称:QueryManager
方法名:cancelStage

QueryManager.cancelStage介绍

[英]Attempts to cancel the stage and continue the query. If the stage is already in a final state, the call is ignored. If the query does not exist, the call is ignored.
[中]尝试取消阶段并继续查询。如果阶段已处于最终状态,则调用将被忽略。如果查询不存在,则忽略该调用。

代码示例

代码示例来源:origin: prestodb/presto

@DELETE
  @Path("{stageId}")
  public void cancelStage(@PathParam("stageId") StageId stageId)
  {
    requireNonNull(stageId, "stageId is null");
    queryManager.cancelStage(stageId);
  }
}

代码示例来源:origin: prestodb/presto

@DELETE
  @Path("stage/{stageId}")
  public void cancelStage(@PathParam("stageId") StageId stageId)
  {
    requireNonNull(stageId, "stageId is null");
    queryManager.cancelStage(stageId);
  }
}

代码示例来源:origin: uk.co.nichesolutions.presto/presto-main

@DELETE
  @Path("{stageId}")
  public void cancelStage(@PathParam("stageId") StageId stageId)
  {
    requireNonNull(stageId, "stageId is null");
    queryManager.cancelStage(stageId);
  }
}

代码示例来源:origin: uk.co.nichesolutions.presto/presto-main

@DELETE
  @Path("stage/{stageId}")
  public void cancelStage(@PathParam("stageId") StageId stageId)
  {
    requireNonNull(stageId, "stageId is null");
    queryManager.cancelStage(stageId);
  }
}

相关文章