public void updateTriggerLocation(String triggerName, TDataNodeLocation dataNodeLocation) {
    TriggerInformation triggerInformation = triggerTable.get(triggerName);
    // triggerInformation will not be null here
    triggerInformation.setDataNodeLocation(dataNodeLocation);
    triggerTable.put(triggerName, triggerInformation);
  }
This Class used to save the information of Triggers and implements methods of manipulate it.
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/trigger/TriggerTable.java