public IDataFrameProxy Agg(IGroupedDataProxy scalaGroupedDataReference, Dictionary <string, string> columnNameAggFunctionDictionary) { var mapReference = new JvmObjectReference(SparkCLRIpcProxy.JvmBridge.CallConstructor("java.util.HashMap").ToString()); foreach (var key in columnNameAggFunctionDictionary.Keys) { SparkCLRIpcProxy.JvmBridge.CallNonStaticJavaMethod(mapReference, "put", new object[] { key, columnNameAggFunctionDictionary[key] }); } return (new DataFrameIpcProxy(new JvmObjectReference( SparkCLRIpcProxy.JvmBridge.CallNonStaticJavaMethod( (scalaGroupedDataReference as GroupedDataIpcProxy).ScalaGroupedDataReference, "agg", new object[] { mapReference }).ToString()), sqlContextProxy)); }
public IDataFrameProxy Agg(IGroupedDataProxy scalaGroupedDataReference, System.Collections.Generic.Dictionary <string, string> columnNameAggFunctionDictionary) { throw new NotImplementedException(); }
internal GroupedData(IGroupedDataProxy groupedDataProxy, DataFrame dataFrame) { this.groupedDataProxy = groupedDataProxy; this.dataFrame = dataFrame; }
public IDataFrameProxy Agg(IGroupedDataProxy scalaGroupedDataReference, System.Collections.Generic.Dictionary<string, string> columnNameAggFunctionDictionary) { throw new NotImplementedException(); }
public IDataFrameProxy Agg(IGroupedDataProxy scalaGroupedDataReference, Dictionary<string, string> columnNameAggFunctionDictionary) { var mapReference = new JvmObjectReference(SparkCLRIpcProxy.JvmBridge.CallConstructor("java.util.HashMap").ToString()); foreach (var key in columnNameAggFunctionDictionary.Keys) { SparkCLRIpcProxy.JvmBridge.CallNonStaticJavaMethod(mapReference, "put", new object[] { key, columnNameAggFunctionDictionary[key]}); } return new DataFrameIpcProxy(new JvmObjectReference( SparkCLRIpcProxy.JvmBridge.CallNonStaticJavaMethod( (scalaGroupedDataReference as GroupedDataIpcProxy).ScalaGroupedDataReference, "agg", new object[] { mapReference }).ToString()), sqlContextProxy); }