Package com.linkedin.venice
Enum Class PushJobCheckpoints
- All Implemented Interfaces:
VeniceEnumValue
,Serializable
,Comparable<PushJobCheckpoints>
,Constable
Different successful checkpoints and known error scenarios of the VPJ flow.
1. The enums are not sequential
2. Non-negative enums are successful checkpoints
3. Negative enums are error scenarios (Can be user or system errors)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
Modifier and TypeFieldDescriptionstatic final Set<PushJobCheckpoints>
Default set checkpoints to define push job failures are user errors which can be overridden via controller configConfigKeys.PUSH_JOB_FAILURE_CHECKPOINTS_TO_DEFINE_USER_ERROR
-
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
static PushJobCheckpoints
valueOf
(int value) Returns the enum constant of this class with the specified name.static PushJobCheckpoints
Returns the enum constant of this class with the specified name.static PushJobCheckpoints[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INITIALIZE_PUSH_JOB
-
NEW_VERSION_CREATED
-
START_DATA_WRITER_JOB
-
DATA_WRITER_JOB_COMPLETED
-
START_JOB_STATUS_POLLING
-
JOB_STATUS_POLLING_COMPLETED
-
START_VALIDATE_SCHEMA_AND_BUILD_DICT_MAP_JOB
-
VALIDATE_SCHEMA_AND_BUILD_DICT_MAP_JOB_COMPLETED
-
QUOTA_EXCEEDED
-
WRITE_ACL_FAILED
-
DUP_KEY_WITH_DIFF_VALUE
-
INPUT_DATA_SCHEMA_VALIDATION_FAILED
-
EXTENDED_INPUT_DATA_SCHEMA_VALIDATION_FAILED
-
RECORD_TOO_LARGE_FAILED
-
CONCURRENT_BATCH_PUSH
-
DATASET_CHANGED
-
INVALID_INPUT_FILE
-
ZSTD_DICTIONARY_CREATION_FAILED
-
DVC_INGESTION_ERROR_DISK_FULL
-
DVC_INGESTION_ERROR_MEMORY_LIMIT_REACHED
-
DVC_INGESTION_ERROR_TOO_MANY_DEAD_INSTANCES
-
DVC_INGESTION_ERROR_OTHER
-
-
Field Details
-
DEFAULT_PUSH_JOB_USER_ERROR_CHECKPOINTS
Default set checkpoints to define push job failures are user errors which can be overridden via controller configConfigKeys.PUSH_JOB_FAILURE_CHECKPOINTS_TO_DEFINE_USER_ERROR
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()- Specified by:
getValue
in interfaceVeniceEnumValue
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-