cacheTable
|
|
cacheTable(tableName: String): Unit cacheTable(tableName: String, storageLevel: StorageLevel): Unit |
Caches the specified table in memory
Used for SQL’s CACHE TABLE and AlterTableRenameCommand command.
|
clearCache
|
|
createTable
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
createTable(tableName: String, path: String): DataFrame createTable( tableName: String, source: String, options: java.util.Map[String, String]): DataFrame createTable( tableName: String, source: String, options: Map[String, String]): DataFrame createTable(tableName: String, path: String, source: String): DataFrame createTable( tableName: String, source: String, schema: StructType, options: java.util.Map[String, String]): DataFrame createTable( tableName: String, source: String, schema: StructType, options: Map[String, String]): DataFrame |
|
currentDatabase
|
|
databaseExists
|
|
databaseExists(dbName: String): Boolean |
|
dropGlobalTempView
|
|
dropGlobalTempView(viewName: String): Boolean |
|
dropTempView
|
|
dropTempView(viewName: String): Boolean |
|
functionExists
|
|
functionExists(functionName: String): Boolean functionExists(dbName: String, functionName: String): Boolean |
|
getDatabase
|
|
getDatabase(dbName: String): Database |
|
getFunction
|
|
getFunction(functionName: String): Function getFunction(dbName: String, functionName: String): Function |
|
getTable
|
|
getTable(tableName: String): Table getTable(dbName: String, tableName: String): Table |
|
isCached
|
|
isCached(tableName: String): Boolean |
|
listColumns
|
|
listColumns(tableName: String): Dataset[Column] listColumns(dbName: String, tableName: String): Dataset[Column] |
|
listDatabases
|
|
listDatabases(): Dataset[Database] |
|
listFunctions
|
|
listFunctions(): Dataset[Function] listFunctions(dbName: String): Dataset[Function] |
|
listTables
|
|
listTables(): Dataset[Table] listTables(dbName: String): Dataset[Table] |
|
recoverPartitions
|
|
recoverPartitions(tableName: String): Unit |
|
refreshByPath
|
|
refreshByPath(path: String): Unit |
|
refreshTable
|
|
refreshTable(tableName: String): Unit |
|
setCurrentDatabase
|
|
setCurrentDatabase(dbName: String): Unit |
|
tableExists
|
|
tableExists(tableName: String): Boolean tableExists(dbName: String, tableName: String): Boolean |
|
uncacheTable
|
|
uncacheTable(tableName: String): Unit |
|