public Function create(IMetaStoreClient client, Configuration conf) throws TException {
    Function f = build(conf);
    client.createFunction(f);
    return f;
  }
Create the function object in the metastore and return it.
@param client metastore client
@param conf configuration
@return new function object
@throws TException if thrown by build or the client.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/client/builder/FunctionBuilder.java