@Override
  public long constructTableDevicesBlackList(
      final ConstructTableDevicesBlackListNode constructTableDevicesBlackListNode)
      throws MetadataException {
    final List<PartialPath> paths =
        DeleteDevice.constructPaths(
            databaseFullPath,
            constructTableDevicesBlackListNode.getTableName(),
            constructTableDevicesBlackListNode.getPatternInfo());
    final DeviceBlackListConstructor constructor =
        DeleteDevice.constructDevicePredicateUpdater(
            databaseFullPath,
            DataNodeTableCache.getInstance()
                .getTable(databaseFullPath, constructTableDevicesBlackListNode.getTableName()),
            constructTableDevicesBlackListNode.getFilterInfo(),
            (pointer, name) -> deviceAttributeStore.getAttributes(pointer, name),
            regionStatistics);
    try {
      for (final PartialPath pattern : paths) {
        mTree.constructTableDeviceBlackList(pattern, constructor);
      }
    } finally {
      constructor.close();
    }
    writeToMLog(constructTableDevicesBlackListNode);
    return constructor.getPreDeletedNum();
  }
remove the node from the tag inverted index
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/impl/SchemaRegionMemoryImpl.java