16 #ifndef IMPALA_EXPRS_SCALAR_FN_CALL_H_
17 #define IMPALA_EXPRS_SCALAR_FN_CALL_H_
24 using namespace impala_udf;
64 virtual bool IsConstant()
const;
103 return vararg_start_idx_ >= 0 ? vararg_start_idx_ : children_.size();
117 std::vector<impala_udf::AnyVal*>* input_vals);
120 template<
typename RETURN_TYPE>
void(* UdfClose)(FunctionContext *context, FunctionContext::FunctionStateScope scope)
int NumFixedArgs() const
Returns the number of non-vararg arguments.
void(* UdfPrepare)(FunctionContext *context, FunctionContext::FunctionStateScope scope)
This object has a compatible storage format with boost::ptime.
std::string DebugString(const T &val)
This is the superclass of all expr evaluation nodes.
void * scalar_fn_wrapper_