@Override
          protected void updateEntity(final IDeviceMNode<IMemMNode> node) {
            final Map<String, Pair<TSDataType, TimeValuePair>> measurementMap = new HashMap<>();
            for (final IMemMNode child : node.getChildren().values()) {
              if (child instanceof IMeasurementMNode) {
                measurementMap.put(
                    child.getName(),
                    new Pair<>(((IMeasurementMNode<?>) child).getDataType(), null));
              }
            }
            final IDeviceID deviceID = node.getPartialPath().getIDeviceID();
            mapToFill
                .computeIfAbsent(new TableId(null, deviceID.getTableName()), o -> new HashMap<>())
                .put(deviceID, measurementMap);
            sensorNum[0] += measurementMap.size();
          }
Get node by the path

@return last node in given seriesPath
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/mtree/impl/mem/MTreeBelowSGMemoryImpl.java