public static String toJavaByteArrayExpression(byte[] bytes) {
        if (bytes == null) {
            return "null";
        }
        int len = bytes.length;
        if (len == 0) {
            return "{}";
        }

        String prefix = "(byte)0x";
        StringBuilder builder = new StringBuilder(10 * len).append('{');
        for (int i = 0; i < len; i++) {
            builder.append(prefix).append(String.format("%02X", 0xFF & bytes[i])).append(',');
        }
        builder.setCharAt(builder.length() - 1, '}');
        return builder.toString();
    }
Finds files according to the given pattern and path.

@param pattern non-empty pattern may or may have syntax prefix as in
               {@link java.nio.file.FileSystem#getPathMatcher(String)},
               defaults to {@code glob} syntax
@param paths   path to search, defaults to current work directory
@return non-null list of normalized absolute paths matching the pattern
@throws IOException when failed to find files
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseUtils.java