presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/metadata/IndexInserter.java/IndexInserter/convert
class IndexInserter:    private static Object convert(Object value)
    {
        if (value instanceof String) {
            return utf8Slice((String) value);
        }
        return value;
    }