presto-spi/src/main/java/io/prestosql/spi/session/ResourceEstimates.java/ResourceEstimates/ResourceEstimates
class ResourceEstimates:    @JsonCreator
    public ResourceEstimates(
            @JsonProperty("executionTime") Optional<Duration> executionTime,
            @JsonProperty("cpuTime") Optional<Duration> cpuTime,
            @JsonProperty("peakMemoryBytes") Optional<Long> peakMemoryBytes)
    {
        this.executionTime = requireNonNull(executionTime, "executionTime is null");
        this.cpuTime = requireNonNull(cpuTime, "cpuTime is null");
        this.peakMemoryBytes = requireNonNull(peakMemoryBytes, "peakMemoryBytes is null");
    }