public List<DeltaFileMetaData> getDeltaFilesForStmtId(final Integer stmtId) {
      if (stmtIds.size() <= 1 || stmtId == null) {
        // If it is not a multistatement delta, we do not store the stmtId in the file list
        return deltaFiles;
      } else {
        return deltaFiles.stream().filter(df -> stmtId.equals(df.getStmtId())).collect(Collectors.toList());
      }
    }
@param minWriteId min writeId of the delta directory
@param maxWriteId max writeId of the delta directory
@param stmtIds delta dir suffixes when a single txn writes &gt; 1 delta in the same partition
@param visibilityTxnId maybe 0, if the dir name didn't have it.  txnid:0 is always visible
@param deltaFiles bucketFiles in the directory
ql/src/java/org/apache/hadoop/hive/ql/io/AcidInputFormat.java