@ThriftField(1)
    public List<PrestoThriftRange> getRanges()
    {
        return ranges;
    }
@Test
    public void testFromValueSetOf()
    {
        PrestoThriftValueSet thriftValueSet = fromValueSet(ValueSet.of(BIGINT, 1L, 2L, 3L));
        assertNotNull(thriftValueSet.getRangeValueSet());
        assertEquals(thriftValueSet.getRangeValueSet().getRanges(), ImmutableList.of(
                new PrestoThriftRange(new PrestoThriftMarker(longValue(1), EXACTLY), new PrestoThriftMarker(longValue(1), EXACTLY)),
                new PrestoThriftRange(new PrestoThriftMarker(longValue(2), EXACTLY), new PrestoThriftMarker(longValue(2), EXACTLY)),
                new PrestoThriftRange(new PrestoThriftMarker(longValue(3), EXACTLY), new PrestoThriftMarker(longValue(3), EXACTLY))));
    }