public TableSessionBuilder enableCompression(boolean enableCompression) {
    this.enableCompression = enableCompression;
    return this;
  }
Enables or disables rpc compression for the connection.

@param enableCompression whether to enable compression.
@return the current {@link TableSessionBuilder} instance.
@defaultValue false
iotdb-client/session/src/main/java/org/apache/iotdb/session/TableSessionBuilder.java