@Override
  public LogicalViewSchema getSchemaAsLogicalViewSchema() {
    if (this.isLogicalView()) {
      return (LogicalViewSchema) this.schema;
    }
    return null;
  }
This class acts as common measurement schema format during system module interactions, mainly in
analyzer and SchemaFetcher. Currently, this class cooperates with DeviceSchemaInfo and wraps
measurement name, alias and MeasurementSchema, which are necessary to construct schemaTree for
Query and Insertion.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/common/schematree/MeasurementSchemaInfo.java