Class InternalUpdateWarehouseCallback
- java.lang.Object
-
- com.snowflake.connectors.application.configuration.warehouse.InternalUpdateWarehouseCallback
-
- All Implemented Interfaces:
UpdateWarehouseCallback
public class InternalUpdateWarehouseCallback extends Object implements UpdateWarehouseCallback
Default implementation ofUpdateWarehouseCallback
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectorResponse
execute(Identifier warehouse)
Executes logic using the provided warehouse.
-
-
-
Method Detail
-
execute
public ConnectorResponse execute(Identifier warehouse)
Description copied from interface:UpdateWarehouseCallback
Executes logic using the provided warehouse.- Specified by:
execute
in interfaceUpdateWarehouseCallback
- Parameters:
warehouse
- new warehouse name provided to the handler- Returns:
- a response with the code
OK
if the execution was successful, otherwise a response with an error code and an error message
-
-