@Override
    public ISchemaRegionPlan visitDeactivateTemplate(
        final IDeactivateTemplatePlan deactivateTemplatePlan, final ByteBuffer buffer) {
      deactivateTemplatePlan.setTemplateSetInfo(deserializeTemplateSetInfo(buffer));
      return deactivateTemplatePlan;
    }
This class provides the ability to deserialize a SchemaRegionPlan from binary data in given
ByteBuffer, the format of which is compatible with that of PhysicalPlan in 0.14 snapshot
versions.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/logfile/visitor/SchemaRegionPlanDeserializer.java