Enum EBXWriteMode
- All Implemented Interfaces:
Serializable
,Comparable<EBXWriteMode>
,Constable
Strategy to write into EBX.
- Since:
- 4.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIf a record already exists in the target table and is not presented in the import file, it will be deleted from the target table.If a record does not exist in the target table yet, it will be inserted.All existing data in the table will be deleted before importing the data.If a record already exists in the target table, it will be updated.If a record already exists in the target table, it will be updated. -
Method Summary
Modifier and TypeMethodDescriptionstatic EBXWriteMode
Returns the enum constant of this type with the specified name.static EBXWriteMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
UPDATE_OR_INSERT
If a record already exists in the target table, it will be updated.Otherwise, a new record will be inserted.
-
UPDATE_ONLY
If a record already exists in the target table, it will be updated.Otherwise, it will be ignored.
-
INSERT_ONLY
If a record does not exist in the target table yet, it will be inserted.Otherwise, it will be ignored.
-
DELETE_ONLY
If a record already exists in the target table and is not presented in the import file, it will be deleted from the target table.Otherwise, it will be ignored.
-
REPLACE_ALL_CONTENT
All existing data in the table will be deleted before importing the data.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-