public List<Pair<Path, Integer>> getPaths(Path root) {
      if (stmtIds.isEmpty()) {
        return Collections.singletonList(new ImmutablePair<>(new Path(root, getName()), null));
      } else {
        // To support multistatement transactions we may have multiple directories corresponding to one DeltaMetaData
        return getStmtIds().stream()
            .map(stmtId -> new ImmutablePair<>(new Path(root, getName(stmtId)), stmtId)).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