static StageStats create(io.prestosql.jdbc.$internal.client.StageStats stats) { return new StageStats( stats.getStageId(), stats.getState(), stats.isDone(), stats.getNodes(), stats.getTotalSplits(), stats.getQueuedSplits(), stats.getRunningSplits(), stats.getCompletedSplits(), stats.getCpuTimeMillis(), stats.getWallTimeMillis(), stats.getProcessedRows(), stats.getProcessedBytes(), stats.getSubStages().stream() .map(StageStats::create) .collect(toList())); }