public class HiveContext extends SQLContext implements 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
initializeLogging, initializeLogIfNecessary, initializeLogIfNecessary, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public HiveContext(SparkContext sc)
public HiveContext(JavaSparkContext sc)
public HiveContext newSession()
newSession
in class SQLContext
public void refreshTable(String tableName)
tableName
- (undocumented)