public class HiveContext extends SQLContext implements org.apache.spark.internal.Logging
SQLContext.implicits$
Constructor and Description |
---|
HiveContext(JavaSparkContext sc)
Deprecated.
|
HiveContext(SparkContext sc)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HiveContext |
newSession()
Deprecated.
Returns a new HiveContext as new session, which will have separated SQLConf, UDF/UDAF,
temporary tables and SessionState, but sharing the same CacheManager, IsolatedClientLoader
and Hive client (both of execution and metadata) with existing HiveContext.
|
void |
refreshTable(String tableName)
Deprecated.
Invalidate and refresh all the cached the metadata of the given table.
|
applySchema, applySchema, applySchema, applySchema, baseRelationToDataFrame, cacheTable, clearActive, clearCache, createDataFrame, createDataFrame, createDataFrame, createDataFrame, createDataFrame, createDataFrame, createDataFrame, createDataFrame, createDataset, createDataset, createDataset, createExternalTable, createExternalTable, createExternalTable, createExternalTable, createExternalTable, createExternalTable, dropTempTable, emptyDataFrame, experimental, getAllConfs, getConf, getConf, getOrCreate, implicits, isCached, jdbc, jdbc, jdbc, jsonFile, jsonFile, jsonFile, jsonRDD, jsonRDD, jsonRDD, jsonRDD, jsonRDD, jsonRDD, listenerManager, load, load, load, load, load, load, parquetFile, parquetFile, range, range, range, range, read, readStream, setActive, setConf, setConf, sparkContext, sparkSession, sql, streams, table, tableNames, tableNames, tables, tables, udf, uncacheTable
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
$init$, initializeForcefully, initializeLogIfNecessary, initializeLogIfNecessary, initializeLogIfNecessary$default$2, initLock, isTraceEnabled, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning, org$apache$spark$internal$Logging$$log__$eq, org$apache$spark$internal$Logging$$log_, uninitialize
public HiveContext(SparkContext sc)
public HiveContext(JavaSparkContext sc)
public HiveContext newSession()
newSession
in class SQLContext
public void refreshTable(String tableName)
tableName
- (undocumented)