Package org.neo4j.cdc.client.model
Enum CaptureMode
- java.lang.Object
-
- java.lang.Enum<CaptureMode>
-
- org.neo4j.cdc.client.model.CaptureMode
-
- All Implemented Interfaces:
Serializable,Comparable<CaptureMode>
public enum CaptureMode extends Enum<CaptureMode>
Capture Mode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIFFChanges are captured as the difference between before and after states of each changed entity (i.e. they only contain removals, updates and additions).FULLChanges are recorded as a complete copy of the before and after states of each changed entity (i.e. they contain the full node/relationship, regardless of the extent to which they were altered).OFFCDC is disabled.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CaptureModevalueOf(String name)Returns the enum constant of this type with the specified name.static CaptureMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final CaptureMode OFF
CDC is disabled.
-
DIFF
public static final CaptureMode DIFF
Changes are captured as the difference between before and after states of each changed entity (i.e. they only contain removals, updates and additions).
-
FULL
public static final CaptureMode FULL
Changes are recorded as a complete copy of the before and after states of each changed entity (i.e. they contain the full node/relationship, regardless of the extent to which they were altered).
-
-
Method Detail
-
values
public static CaptureMode[] 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 (CaptureMode c : CaptureMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CaptureMode 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
-
-