presto-main/src/main/java/io/prestosql/execution/SqlQueryExecution.java/SqlQueryExecution/getState
class SqlQueryExecution:    @Override
    public QueryState getState()
    {
        return stateMachine.getQueryState();
    }