public Set<Integer> getInputRefSet() {
      return inputRefSet;
    }
Walks over an expression and determines whether it is constant.
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/HiveCalciteUtil.java