public static ClickHousePassThruStream of(InputStream in, OutputStream out, ClickHouseCompression compression,
            int compressionLevel, ClickHouseFormat format) {
        if (in == null && out == null && compression == null
                && compressionLevel == ClickHouseDataConfig.DEFAULT_COMPRESS_LEVEL && format == null) {
            return NULL;
        }

        return new ClickHousePassThruStream(in, out, compression, compressionLevel, format);
    }
Null stream which has no compression and format.
clickhouse-data/src/main/java/com/clickhouse/data/ClickHousePassThruStream.java