private static ICachedMNode paddingMeasurement(
      String nodeName, long tagIndex, long statsBytes, String alias, Map<String, String> props) {
    byte preDel = (byte) (statsBytes >>> 24);
    byte dataType = (byte) (statsBytes >>> 16);
    byte encoding = (byte) ((statsBytes >>> 8) & 0xffL);
    byte compressor = (byte) (statsBytes & 0xffL);

    IMeasurementSchema schema =
        new MeasurementSchema(
            nodeName,
            TSDataType.values()[dataType],
            TSEncoding.values()[encoding],
            CompressionType.deserialize(compressor),
            props);

    ICachedMNode res =
        nodeFactory.createMeasurementMNode(null, nodeName, schema, alias).getAsMNode();
    res.getAsMeasurementMNode().setOffset(tagIndex);

    if (preDel > 0) {
      res.getAsMeasurementMNode().setPreDeleted(true);
    }

    return res;
  }
Including schema and pre-delete flag of a measurement, could be expanded further.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/mtree/impl/pbtree/schemafile/RecordUtils.java