presto-kudu/src/main/java/io/prestosql/plugin/kudu/properties/RangeBoundValueSerializer.java/RangeBoundValueSerializer/serialize
class RangeBoundValueSerializer:    @Override
    public void serialize(RangeBoundValue value, JsonGenerator gen, SerializerProvider serializers)
            throws IOException
    {
        if (value == null) {
            gen.writeNull();
        }
        else {
            if (value.getValues().size() == 1) {
                writeValue(value.getValues().get(0), gen);
            }
            else {
                gen.writeStartArray(value.getValues().size());
                for (Object obj : value.getValues()) {
                    writeValue(obj, gen);
                }
                gen.writeEndArray();
            }
        }
    }