/** * Creates a Builder with the provided {@link MapFunction} implementation. * * @param udf The {@link MapFunction} implementation for this Map operator. */ public static Builder builder(Class<? extends MapFunction> udf) { return new Builder(new UserCodeClassWrapper<MapFunction>(udf)); }
/** * Creates a Builder with the provided {@link MapFunction} implementation. * * @param udf The {@link MapFunction} implementation for this Map operator. */ public static Builder builder(MapFunction udf) { return new Builder(new UserCodeObjectWrapper<MapFunction>(udf)); }