public void setSettleTsFileCallBack(DataRegion.SettleTsFileCallBack settleTsFileCallBack) {
    this.settleTsFileCallBack = settleTsFileCallBack;
  }
Get a timeseriesMetadata by path.

@return TimeseriesMetadata or the first ValueTimeseriesMetadata in VectorTimeseriesMetadata
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/tsfile/TsFileResource.java