public IDStreamProxy Union(IDStreamProxy firstDStream, IDStreamProxy[] otherDStreams) { return new DStreamIpcProxy( new JvmObjectReference( (string)SparkCLRIpcProxy.JvmBridge.CallNonStaticJavaMethod(jvmJavaStreamingReference, "union", new object[] { (firstDStream as DStreamIpcProxy).javaDStreamReference, otherDStreams.Select(x => (x as DStreamIpcProxy).javaDStreamReference).ToArray() } ))); }