public TableSessionBuilder enableRedirection(boolean enableRedirection) {
    this.enableRedirection = enableRedirection;
    return this;
  }
Enables or disables redirection for cluster nodes.

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