public void serialize(ByteBuffer buffer) {
    ReadWriteIOUtils.write(nodeType, buffer);
  }
Similar to <code>PlanNodeType</code>, this class is used to provide serialization and
deserialization methods for Delete Ahead Log(DAL) which used for IoTConsensusV2 and pipe.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/DeleteNodeType.java