fe/src/main/java/com/cloudera/impala/catalog/ScalarFunction.java
/**
   * Create a builtin function with the symbol beClass::beFn
   */
Create a builtin function with the symbol beClass::beFn
Create a builtin function with the symbol beClass :: beFn
public static ScalarFunction createBuiltinOperator(String name,
      String beClass, String beFn, ArrayList<ColumnType> argTypes, ColumnType retType) {
    FunctionArgs fnArgs = new FunctionArgs(argTypes, false);
    ScalarFunction fn =
        new ScalarFunction(new FunctionName(Catalog.BUILTINS_DB, name), fnArgs, retType);
    fn.setBinaryType(TFunctionBinaryType.BUILTIN);
    fn.setUserVisible(false);
    fn.udfInterface_ = false;
    fn.symbolName_ = GetComputeFnSymbol(beClass, beFn);
    return fn;
  }
public static ScalarFunction createBuiltinOperator ( String name , String beClass , String beFn , ArrayList < ColumnType > argTypes , ColumnType retType ) { FunctionArgs fnArgs = new FunctionArgs ( argTypes , false ) ; ScalarFunction fn = new ScalarFunction ( new FunctionName ( Catalog . BUILTINS_DB , name ) , fnArgs , retType ) ; fn . setBinaryType ( TFunctionBinaryType . BUILTIN ) ; fn . setUserVisible ( false ) ; fn . udfInterface_ = false ; fn . symbolName_ = GetComputeFnSymbol ( beClass , beFn ) ; return fn ; }
Create a builtin function with the symbol beClass::beFn
Create a builtin function with the symbol beClass :: beFn