Enum Class MigrationMode
- All Implemented Interfaces:
Serializable,Comparable<MigrationMode>,Constable
Allows controlling the error handling policy in case of an irreconcilable mismatch between the GG8 record and the target GG9 Table.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAbort the migration.Any additional columns/fields in the cache record will be ignored (not migrated to the table; lost).Any additional columns/fields in the cache record will be serialized to JSON and stored in the `__EXTRA__` column.The whole cache record will be ignored (not migrated to the table; lost). -
Method Summary
Modifier and TypeMethodDescriptionstatic MigrationModeReturns the enum constant of this class with the specified name.static MigrationMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ABORT
Abort the migration. -
SKIP_RECORD
The whole cache record will be ignored (not migrated to the table; lost). -
IGNORE_COLUMN
Any additional columns/fields in the cache record will be ignored (not migrated to the table; lost). The others will be migrated as usual. -
PACK_EXTRA
Any additional columns/fields in the cache record will be serialized to JSON and stored in the `__EXTRA__` column. This is an additional column that the tool adds to the table, it is not a native feature.This mode will allow to leverage the IgniteAdapter.Builder#allowExtraFields feature in the adapter module.
-
-
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
-