public RelNode getJoinFactor(int factIdx) {
    return joinFactors.get(factIdx);
  }
Returns the factor corresponding to the given factor index.

@param factIdx Factor to be returned
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveLoptMultiJoin.java