Class DropExternalTable
- java.lang.Object
-
- net.snowflake.hivemetastoreconnector.commands.Command
-
- net.snowflake.hivemetastoreconnector.commands.DropExternalTable
-
public class DropExternalTable extends Command
A class for the DropExternalTable command
-
-
Constructor Summary
Constructors Constructor Description DropExternalTable(org.apache.hadoop.hive.metastore.events.DropTableEvent dropTableEvent, SnowflakeConf snowflakeConf)Creates a DropExternalTable command
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>generateSqlQueries()Generates the necessary queries on a hive drop table event-
Methods inherited from class net.snowflake.hivemetastoreconnector.commands.Command
getDatabaseName, getTableName
-
-
-
-
Constructor Detail
-
DropExternalTable
public DropExternalTable(org.apache.hadoop.hive.metastore.events.DropTableEvent dropTableEvent, SnowflakeConf snowflakeConf)Creates a DropExternalTable command- Parameters:
dropTableEvent- Event to generate a command fromsnowflakeConf- - the configuration for Snowflake Hive metastore listener
-
-
Method Detail
-
generateSqlQueries
public List<String> generateSqlQueries()
Generates the necessary queries on a hive drop table event- Specified by:
generateSqlQueriesin classCommand- Returns:
- The Snowflake queries generated
-
-