internal DataFrameIpcProxy(JvmObjectReference jvmDataFrameReference, ISqlContextProxy sqlProxy) { this.jvmDataFrameReference = jvmDataFrameReference; sqlContextProxy = sqlProxy; na = new DataFrameNaFunctions(jvmDataFrameReference); stat = new DataFrameStatFunctions(jvmDataFrameReference); }
internal SqlContext(SparkContext sparkContext, ISqlContextProxy sqlContextProxy) { this.sparkContext = sparkContext; this.sqlContextProxy = sqlContextProxy; if (instance == null) { instance = this; } }
/// <summary> /// Creates a SqlContext /// </summary> /// <param name="sparkContext"></param> public SqlContext(SparkContext sparkContext) { this.sparkContext = sparkContext; sqlContextProxy = sparkContext.SparkContextProxy.CreateSqlContext(); if (instance == null) { instance = this; } }
internal SqlContext(SparkSession sparkSession, bool isRootContext) { this.sparkSession = sparkSession; this.sparkContext = sparkSession.SparkContext; this.sqlContextProxy = sparkSession.SparkSessionProxy.SqlContextProxy; this.isRootContext = isRootContext; if (instance == null) { instance = this; } }
internal DataFrameNaFunctionsIpcProxy(JvmObjectReference jvmDataFrameNaFunctionsReference, ISqlContextProxy sqlContextProxy) { this.jvmDataFrameNaFunctionsReference = jvmDataFrameNaFunctionsReference; this.sqlContextProxy = sqlContextProxy; }
internal DatasetIpcProxy(JvmObjectReference jvmDatasetReference, ISqlContextProxy sqlContextProxy) { this.jvmDatasetReference = jvmDatasetReference; this.sqlContextProxy = sqlContextProxy; }
public SqlContext(SparkContext sparkContext) { this.sparkContext = sparkContext; sqlContextProxy = sparkContext.SparkContextProxy.CreateSqlContext(); }
internal HiveContext(SparkContext sparkContext, ISqlContextProxy sqlContextProxy) : base(sparkContext, sqlContextProxy) { }
internal CatalogIpcProxy(JvmObjectReference jvmCatalogReference, ISqlContextProxy sqlContextProxy) { this.jvmCatalogReference = jvmCatalogReference; this.sqlContextProxy = sqlContextProxy; }
internal DataFrameReaderIpcProxy(JvmObjectReference jvmDataFrameReaderReference, ISqlContextProxy sqlContextProxy) { this.jvmDataFrameReaderReference = jvmDataFrameReaderReference; this.sqlContextProxy = sqlContextProxy; }
/// <summary> /// Creates a SqlContext /// </summary> /// <param name="sparkContext"></param> public SqlContext(SparkContext sparkContext) : this(new SparkSession(sparkContext)) { sqlContextProxy = sparkSession.SparkSessionProxy.SqlContextProxy; this.sparkContext = sparkContext; }
public MockDataFrameReaderProxy(ISqlContextProxy sqlContextProxy) { mockSqlContextProxy = sqlContextProxy; }
internal SparkSessionIpcProxy(JvmObjectReference jvmSparkSessionReference) { this.jvmSparkSessionReference = jvmSparkSessionReference; sqlContextProxy = new SqlContextIpcProxy(GetSqlContextReference()); }
internal GroupedDataIpcProxy(JvmObjectReference gdRef, ISqlContextProxy sccProxy) { scalaGroupedDataReference = gdRef; scalaSqlContextReference = sccProxy; }
//just saving the parameter collection to mock the proxy reference that will be used in Assert statements internal MockDataFrameProxy(object[] parameterCollection, ISqlContextProxy scProxy) { mockDataFrameReference = parameterCollection; mockSqlContextProxy = scProxy; }
internal UdfRegistrationIpcProxy(ISqlContextProxy sqlContextProxy) { this.sqlContextProxy = sqlContextProxy; }