Enum SnowflakeInternalOperations
- java.lang.Object
-
- java.lang.Enum<SnowflakeInternalOperations>
-
- com.snowflake.kafka.connector.internal.SnowflakeInternalOperations
-
- All Implemented Interfaces:
Serializable,Comparable<SnowflakeInternalOperations>
public enum SnowflakeInternalOperations extends Enum<SnowflakeInternalOperations>
Enum placeholders for internal operations. Useful mostly in logging and helps figure out where retries are happening.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SnowflakeInternalOperationsvalueOf(String name)Returns the enum constant of this type with the specified name.static SnowflakeInternalOperations[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPLOAD_FILE_TO_INTERNAL_STAGE
public static final SnowflakeInternalOperations UPLOAD_FILE_TO_INTERNAL_STAGE
-
UPLOAD_FILE_TO_INTERNAL_STAGE_NO_CONNECTION
public static final SnowflakeInternalOperations UPLOAD_FILE_TO_INTERNAL_STAGE_NO_CONNECTION
-
UPLOAD_FILE_TO_TABLE_STAGE
public static final SnowflakeInternalOperations UPLOAD_FILE_TO_TABLE_STAGE
-
REMOVE_FILE_FROM_INTERNAL_STAGE
public static final SnowflakeInternalOperations REMOVE_FILE_FROM_INTERNAL_STAGE
-
INSERT_FILES_SNOWPIPE_API
public static final SnowflakeInternalOperations INSERT_FILES_SNOWPIPE_API
-
INSERT_REPORT_SNOWPIPE_API
public static final SnowflakeInternalOperations INSERT_REPORT_SNOWPIPE_API
-
LOAD_HISTORY_SCAN_SNOWPIPE_API
public static final SnowflakeInternalOperations LOAD_HISTORY_SCAN_SNOWPIPE_API
-
FETCH_OAUTH_TOKEN
public static final SnowflakeInternalOperations FETCH_OAUTH_TOKEN
-
-
Method Detail
-
values
public static SnowflakeInternalOperations[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SnowflakeInternalOperations c : SnowflakeInternalOperations.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SnowflakeInternalOperations valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-