public InsertSettings appCompressedData(boolean enabled, String compressionMethod) {
        this.rawSettings.put(ClientConfigProperties.APP_COMPRESSED_DATA.getKey(), enabled);
        useHttpCompression(true);
        httpHeader(HttpHeaders.CONTENT_ENCODING, compressionMethod);
        return this;
    }
Sets flag that indicates if application provides already compressed data

@param enabled - if application provides compressed data
client-v2/src/main/java/com/clickhouse/client/api/insert/InsertSettings.java