예제 #1
0
 internal UserDefinedFunction(Func <int, IEnumerable <dynamic>, IEnumerable <dynamic> > func)
 {
     udfProxy = SparkCLREnvironment.SparkCLRProxy.SparkContextProxy.CreateUserDefinedCSharpFunction(
         func.GetType().Name,
         SparkContext.BuildCommand(new CSharpWorkerFunc(func), SerializedMode.Row, SerializedMode.Row),
         Functions.GetReturnType(typeof(RT)));
 }
예제 #2
0
 internal UserDefinedFunction(IUDFProxy udfProxy)
 {
     this.udfProxy = udfProxy;
 }