presto-main/src/main/java/io/prestosql/dispatcher/LocalDispatchQuery.java/LocalDispatchQuery/getEndTime
class LocalDispatchQuery:    @Override
    public Optional<DateTime> getEndTime()
    {
        return stateMachine.getEndTime();
    }