presto-client/src/main/java/io/prestosql/client/StatementClientV1.java/StatementClientV1/finalStatusInfo
class StatementClientV1:    @Override
    public QueryStatusInfo finalStatusInfo()
    {
        checkState(!isRunning(), "current position is still valid");
        return currentResults.get();
    }