@ThriftField(1)
    public List<PrestoThriftRange> getRanges()
    {
        return ranges;
    }
@Test
    public void testFromValueSetOfRangesBounded()
    {
        PrestoThriftValueSet thriftValueSet = fromValueSet(ValueSet.ofRanges(
                range(BIGINT, -10L, true, -1L, false),
                range(BIGINT, -1L, false, 100L, true)));
        assertNotNull(thriftValueSet.getRangeValueSet());
        assertEquals(thriftValueSet.getRangeValueSet().getRanges(), ImmutableList.of(
                new PrestoThriftRange(new PrestoThriftMarker(longValue(-10), EXACTLY), new PrestoThriftMarker(longValue(-1), BELOW)),
                new PrestoThriftRange(new PrestoThriftMarker(longValue(-1), ABOVE), new PrestoThriftMarker(longValue(100), EXACTLY))));
    }