Within the ExprNodeEvaluatorWrapper.evaluate(row :AnyRef), either using a flag variable or abstract class reference, to call the actual executor, Hive or Code Gen evaluator. I just picked up the later, to eliminate the flag checking for every row evaluating, and hope the JVM could optimize(inline) the virtual function calls.

Sorry, I should put more comments in the code.