docs: public static Collection<Range> getRangesFromDomain(Optional<Domain> domain, AccumuloRowSerializer serializer)
              throws TableNotFoundException
      {
          // if we have no predicate pushdown, use the full range
          if (!domain.isPresent()) {
              return ImmutableSet.of(new Range());
          }
  
          ImmutableSet.Builder<Range> rangeBuilder = ImmutableSet.builder();
          for (com.facebook.presto.spi.predicate.Range range : domain.get().getValues().getRanges().getOrderedRanges()) {
              rangeBuilder.add(getRangeFromPrestoRange(range, serializer));
          }
  
          return rangeBuilder.build();
      }