A cache of Spark SQL data source tables that have been accessed.
A cache of Spark SQL data source tables that have been accessed.
Create a metastore function in the database specified in funcDefinition
.
Create a metastore function in the database specified in funcDefinition
.
If no such database is specified, create it in the current database.
If the specified database is not present in catalog, create that database.
@ TODO Ideally create schema from gfxd should get routed to create the database in
the Hive catalog.
Test only method
Test only method
Format database name, taking into account case sensitivity.
Format database name, taking into account case sensitivity.
Format table name, taking into account case sensitivity.
Format table name, taking into account case sensitivity.
API to get primary key or Key Columns of a SnappyData table
API to get primary key or Key Columns of a SnappyData table
API to get primary key or Key Columns of a SnappyData table
API to get primary key or Key Columns of a SnappyData table
API to get table type of a SnappyData table
API to get table type of a SnappyData table
Return whether a table with the specified name is a local temporary view.
Return whether a table with the specified name is a local temporary view.
Return an Expression that represents the specified function, assuming it exists.
Return an Expression that represents the specified function, assuming it exists.
For a temporary function or a permanent function that has been loaded, this method will simply lookup the function through the FunctionRegistry and create an expression based on the builder.
For a permanent function that has not been loaded, we will first fetch its metadata
from the underlying external catalog. Then, we will load all resources associated
with this function (i.e. jars and files). Finally, we create a function builder
based on the function class and put the builder into the FunctionRegistry.
The name of this function in the FunctionRegistry will be databaseName.functionName
.
Look up the ExpressionInfo associated with the specified function, assuming it exists.
Look up the ExpressionInfo associated with the specified function, assuming it exists.
Creates a data source table (a table created with USING clause) in Hive's meta-store.
Creates a data source table (a table created with USING clause) in Hive's meta-store.
Drop all existing databases (except "default"), tables, partitions and functions, and set the current database to "default".
Drop all existing databases (except "default"), tables, partitions and functions, and set the current database to "default". This method will only remove tables from hive catalog.Don't use this method if you want to delete physical tables This is mainly used for tests.
Drops a data source table from Hive's meta-store.
Drops a data source table from Hive's meta-store.
Catalog used when SnappyData Connector mode is used over thin client JDBC connection.