presto-elasticsearch/src/main/java/io/prestosql/elasticsearch/decoders/IdColumnDecoder.java/IdColumnDecoder/decode
class IdColumnDecoder:    @Override
    public void decode(SearchHit hit, Supplier<Object> getter, BlockBuilder output)
    {
        VARCHAR.writeSlice(output, Slices.utf8Slice(hit.getId()));
    }