public boolean needsPrepare() {
      return !(eval instanceof ExprNodeConstantEvaluator);
    }
Class to allow deferred evaluation for GenericUDF.
ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeGenericFuncEvaluator.java