public TimeValuePair getLastCache(final MeasurementPath seriesPath) {
    return tableDeviceSchemaCache.getLastEntry(
        null, seriesPath.getIDeviceID(), seriesPath.getMeasurement());
  }
Store the fetched schema in either the {@link TreeDeviceNormalSchema} or {@link
TreeDeviceTemplateSchema}, depending on its associated device.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/fetcher/cache/TreeDeviceSchemaCacheManager.java