@Override
    public Void visitCreateLogicalView(
        ICreateLogicalViewPlan createLogicalViewPlan, StringBuilder stringBuilder) {
      int viewSize = createLogicalViewPlan.getViewSize();
      List<PartialPath> viewPathList = createLogicalViewPlan.getViewPathList();
      Map<PartialPath, ViewExpression> viewPathToSourceMap =
          createLogicalViewPlan.getViewPathToSourceExpressionMap();
      for (int i = 0; i < viewSize; i++) {
        PartialPath thisPath = viewPathList.get(i);
        ViewExpression thisExp = viewPathToSourceMap.get(thisPath);
        stringBuilder.append(thisPath).append(FIELD_SEPARATOR).append(thisExp.toString());
        if (i + 1 >= viewSize) {
          break;
        }
        stringBuilder.append(FIELD_SEPARATOR);
      }
      return null;
    }
This class provides the ability to serialize the given SchemaRegionPlan into binary data as txt
format, which is used for MLogParser.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/logfile/visitor/SchemaRegionPlanTxtSerializer.java