protected boolean isAllConstants(List<T> exprs) {
    for (T expr : exprs) {
      if (!isConstantExpr(expr)) {
        return false;
      }
    }
    return true;
  }
Returns whether all input expressions are constant expressions.
ql/src/java/org/apache/hadoop/hive/ql/parse/type/ExprFactory.java