public interface DeDuplicationHandler extends IDCMethodHandler
Modifier and Type | Method and Description |
---|---|
ShortField |
isDuplicate(MillisField timestamp,
StringField key)
Determines if the event is a duplicate
|
ShortField |
isDuplicate(MillisField timestamp,
StringField timezoneID,
StringField key)
Determines if the event is a duplicate
|
ShortField isDuplicate(MillisField timestamp, StringField timezoneID, StringField key) throws java.lang.Exception
timestamp
- The timestamptimezoneID
- The TimeZone ID (i.e. UTC)key
- The de-duplication key to usejava.lang.Exception
- if any issue occurs while trying to determine if this is a duplicate eventShortField isDuplicate(MillisField timestamp, StringField key) throws java.lang.Exception
timestamp
- The timestamp (assumed to be UTC)key
- The de-duplication key to usejava.lang.Exception
- if any issue occurs while trying to determine if this is a duplicate event