Class CommandGenerator


  • public class CommandGenerator
    extends Object
    A class that generates the commands to be executed
    • Constructor Detail

      • CommandGenerator

        public CommandGenerator()
    • 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 metastore
        snowflakeConf - - the configuration for Snowflake Hive metastore listener
        Returns:
        a command corresponding to the command to be executed