public Builder weight(Integer weight) {
            if (weight != null) {
                options.put(PARAM_WEIGHT, weight.toString());
            } else {
                options.remove(PARAM_WEIGHT);
            }
            return this;
        }
Sets weight of this node.

@param weight weight of the node, null means default weight
@return this builder
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseNode.java