Enum IngestionRunRepository.Mode
- java.lang.Object
-
- java.lang.Enum<IngestionRunRepository.Mode>
-
- com.snowflake.connectors.application.observability.IngestionRunRepository.Mode
-
- All Implemented Interfaces:
Serializable
,Comparable<IngestionRunRepository.Mode>
- Enclosing interface:
- IngestionRunRepository
public static enum IngestionRunRepository.Mode extends Enum<IngestionRunRepository.Mode>
Update mode for the number of rows ingested during an ingestion run.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IngestionRunRepository.Mode
valueOf(String name)
Returns the enum constant of this type with the specified name.static IngestionRunRepository.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OVERWRITE
public static final IngestionRunRepository.Mode OVERWRITE
Overwrite the currently persisted number of rows with the new value.
-
ADD
public static final IngestionRunRepository.Mode ADD
Add the new value to the currently persisted number of rows.
-
-
Method Detail
-
values
public static IngestionRunRepository.Mode[] 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 (IngestionRunRepository.Mode c : IngestionRunRepository.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IngestionRunRepository.Mode 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
-
-