Class CommandGenerator
- java.lang.Object
-
- net.snowflake.hivemetastoreconnector.core.CommandGenerator
-
public class CommandGenerator extends Object
A class that generates the commands to be executed
-
-
Constructor Summary
Constructors Constructor Description CommandGenerator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CommandgetCommand(org.apache.hadoop.hive.metastore.events.ListenerEvent event, SnowflakeConf snowflakeConf)Creates a command based on the arguments Defers the actual creation to subclasses
-
-
-
Method Detail
-
getCommand
public static Command getCommand(org.apache.hadoop.hive.metastore.events.ListenerEvent event, SnowflakeConf snowflakeConf)
Creates a command based on the arguments Defers the actual creation to subclasses- Parameters:
event- - the event passed from the hive metastoresnowflakeConf- - the configuration for Snowflake Hive metastore listener- Returns:
- a command corresponding to the command to be executed
-
-