Enum BatchConflictResolutionPolicy

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BATCH_WRITE_LOSES
      Incoming data from Batch push should always be overwritten by real-time updates.
      USE_PER_RECORD_LOGICAL_TIMESTAMP
      Per-record replication metadata is provided by the push job and stored for each key, enabling full conflict resolution granularity on a per field basis, just like when merging concurrent update operations.
      USE_START_OF_PUSH_TIMESTAMP
      Start-Of-Push Control message's timestamp should be treated as the last update replication timestamp for all batch records, and hybrid writes wins only when their own logicalTimestamp are higher.
    • Enum Constant Detail

      • BATCH_WRITE_LOSES

        public static final BatchConflictResolutionPolicy BATCH_WRITE_LOSES
        Incoming data from Batch push should always be overwritten by real-time updates.
      • USE_START_OF_PUSH_TIMESTAMP

        public static final BatchConflictResolutionPolicy USE_START_OF_PUSH_TIMESTAMP
        Start-Of-Push Control message's timestamp should be treated as the last update replication timestamp for all batch records, and hybrid writes wins only when their own logicalTimestamp are higher.
      • USE_PER_RECORD_LOGICAL_TIMESTAMP

        public static final BatchConflictResolutionPolicy USE_PER_RECORD_LOGICAL_TIMESTAMP
        Per-record replication metadata is provided by the push job and stored for each key, enabling full conflict resolution granularity on a per field basis, just like when merging concurrent update operations.
    • Method Detail

      • values

        public static BatchConflictResolutionPolicy[] 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 (BatchConflictResolutionPolicy c : BatchConflictResolutionPolicy.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BatchConflictResolutionPolicy valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public int getValue()
      • valueOf

        public static BatchConflictResolutionPolicy valueOf​(int value)
        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:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null