presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/util/UuidUtil.java/UuidUtil/uuidToBytes
class UuidUtil:    public static byte[] uuidToBytes(UUID uuid)
    {
        return ByteBuffer.allocate(16)
                .putLong(uuid.getMostSignificantBits())
                .putLong(uuid.getLeastSignificantBits())
                .array();
    }