Share via


Catalog.ListTables Method

Definition

Overloads

ListTables()

Returns a list of tables/views in the current database. The DataFrame includes the name, database, description, table type and whether the table is temporary or not.

ListTables(String)

Returns a list of tables/views in the specified database. The DataFrame includes the name, database, description, table type and whether the table is temporary or not.

ListTables()

Returns a list of tables/views in the current database. The DataFrame includes the name, database, description, table type and whether the table is temporary or not.

public Microsoft.Spark.Sql.DataFrame ListTables ();
member this.ListTables : unit -> Microsoft.Spark.Sql.DataFrame
Public Function ListTables () As DataFrame

Returns

DataFrame with the name, database, description, table type and whether the table is temporary or not for each table in the default database

Applies to

ListTables(String)

Returns a list of tables/views in the specified database. The DataFrame includes the name, database, description, table type and whether the table is temporary or not.

public Microsoft.Spark.Sql.DataFrame ListTables (string dbName);
member this.ListTables : string -> Microsoft.Spark.Sql.DataFrame
Public Function ListTables (dbName As String) As DataFrame

Parameters

dbName
String

Is a name that designates a database.

Returns

DataFrame with the name, database, description, table type and whether the table is temporary or not for each table in the named database

Applies to