Class UpdateWarehouseExecutor
- java.lang.Object
-
- com.snowflake.connectors.taskreactor.commands.processor.executors.UpdateWarehouseExecutor
-
- All Implemented Interfaces:
CommandExecutor
public class UpdateWarehouseExecutor extends Object implements CommandExecutor
Executor of theUPDATE_WAREHOUSEcommand.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(Command command)Executes the logic required by the command passed as an argument.static UpdateWarehouseExecutorgetInstance(Session session, Identifier instanceName)Creates new instance ofUpdateWarehouseExecutor
-
-
-
Method Detail
-
execute
public void execute(Command command)
Description copied from interface:CommandExecutorExecutes the logic required by the command passed as an argument.- Specified by:
executein interfaceCommandExecutor- Parameters:
command- command to be executed
-
getInstance
public static UpdateWarehouseExecutor getInstance(Session session, Identifier instanceName)
Creates new instance ofUpdateWarehouseExecutor- Parameters:
session- Snowpark session objectinstanceName- task reactor schema name- Returns:
- new instance of
UpdateWarehouseExecutor
-
-