class SqlTask {

    public TaskInfo abort()
    {
        taskStateMachine.abort();
        return getTaskInfo();
    }

    private  SqlTask(
            TaskId taskId,
            URI location,
            String nodeId,
            QueryContext queryContext,
            SqlTaskExecutionFactory sqlTaskExecutionFactory,
            ExecutorService taskNotificationExecutor,
            DataSize maxBufferSize);

}