public SelfT output(String file, ClickHouseCompression compression) {
        return output(ClickHouseFile.of(file, compression,
                (int) ClickHouseClientOption.COMPRESS_LEVEL.getDefaultValue(), null));
    }
Sets compressed output file, to which response will be redirected.

@param file        non-empty path to the file
@param compression compression algorithm, {@code null} or
                   {@link ClickHouseCompression#NONE} means no compression
@return the request itself
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseRequest.java