本文整理了Java中com.facebook.presto.execution.QueryManager.cancelStage
方法的一些代码示例,展示了QueryManager.cancelStage
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QueryManager.cancelStage
方法的具体详情如下:
包路径:com.facebook.presto.execution.QueryManager
类名称: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);
}
}
内容来源于网络,如有侵权,请联系作者删除!