private long getQueryTimeLowerBound(IDeviceID deviceID) {
    long ttl;
    if (deviceID.getTableName().startsWith("root.")) {
      ttl = DataNodeTTLCache.getInstance().getTTLForTree(deviceID);
    } else {
      ttl =
          DataNodeTTLCache.getInstance()
              .getTTLForTable(this.dataRegionName, deviceID.getTableName());
    }
    return ttl != Long.MAX_VALUE ? CommonDateTimeUtils.currentTime() - ttl : Long.MIN_VALUE;
  }
Get the chunk(s) in the memtable (one from work memtable and the other ones in flushing
memtables and then compact them into one TimeValuePairSorter). Then get the related
ChunkMetadata of data on disk.

@param seriesPaths selected paths
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/TsFileProcessor.java