public ClickHouseCompression getRequestCompressAlgorithm() {
        return compressRequest ? compressAlgorithm : ClickHouseCompression.NONE;
    }
Gets input compress algorithm. When {@link #isRequestCompressed()} is
{@code false}, this will return {@link ClickHouseCompression#NONE}.

@return non-null compress algorithm
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseConfig.java