@Override
  public void updateLastCache(String databaseName) {
    String[] rawMeasurements = getRawMeasurements();
    TimeValuePair[] timeValuePairs = new TimeValuePair[rawMeasurements.length];
    for (int i = 0; i < rawMeasurements.length; i++) {
      timeValuePairs[i] = composeTimeValuePair(i);
    }
    TableDeviceSchemaCache.getInstance()
        .updateLastCacheIfExists(databaseName, getDeviceID(), rawMeasurements, timeValuePairs);
  }
Deserialize from wal.

@param stream - DataInputStream
@return RelationalInsertRowNode
@throws IOException - If an I/O error occurs.
@throws IllegalArgumentException - If meets illegal argument.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/RelationalInsertRowNode.java