public Integer getDataNodeId() {
    return dataNodeId;
  }
Get DataNodeInfo by the specific DataNode's id. And return all when dataNodeID is set to -1.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/read/datanode/GetDataNodeConfigurationPlan.java