Interface DeDuplicationHandler

All Superinterfaces:
IDCMethodHandler
All Known Implementing Classes:
DeDuplicationHandlerImpl

public interface DeDuplicationHandler extends IDCMethodHandler
  • Method Details

    • isDuplicate

      ShortField isDuplicate(MillisField timestamp, StringField timezoneID, StringField key) throws Exception
      Determines if the event is a duplicate
      Parameters:
      timestamp - The timestamp
      timezoneID - The TimeZone ID (i.e. UTC)
      key - The de-duplication key to use
      Returns:
      Code indicating if this event is DUPLICATE, NO_DUPLICATE, or TOO_OLD
      Throws:
      Exception - if any issue occurs while trying to determine if this is a duplicate event
    • isDuplicate

      ShortField isDuplicate(MillisField timestamp, StringField key) throws Exception
      Determines if the event is a duplicate
      Parameters:
      timestamp - The timestamp (assumed to be UTC)
      key - The de-duplication key to use
      Returns:
      Code indicating if this event is DUPLICATE, NO_DUPLICATE, or TOO_OLD
      Throws:
      Exception - if any issue occurs while trying to determine if this is a duplicate event