Class AgeOffFromDays
- java.lang.Object
-
- uk.gov.gchq.koryphe.predicate.KoryphePredicate<TUPLE>
-
- uk.gov.gchq.koryphe.tuple.predicate.KoryphePredicateN<Tuple2<T,U>>
-
- uk.gov.gchq.koryphe.tuple.predicate.KoryphePredicate2<Long,Integer>
-
- uk.gov.gchq.koryphe.impl.predicate.AgeOffFromDays
-
public class AgeOffFromDays extends KoryphePredicate2<Long,Integer>
AnAgeOffFromDays
is aBiPredicate
that ages off old data based on a provided age off time in days.
-
-
Field Summary
Fields Modifier and Type Field Description static long
DAYS_TO_MILLISECONDS
-
Constructor Summary
Constructors Constructor Description AgeOffFromDays()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(Long timestamp, Integer days)
-
Methods inherited from class uk.gov.gchq.koryphe.tuple.predicate.KoryphePredicateN
test
-
Methods inherited from class uk.gov.gchq.koryphe.predicate.KoryphePredicate
equals, hashCode
-
-
-
-
Field Detail
-
DAYS_TO_MILLISECONDS
public static final long DAYS_TO_MILLISECONDS
- See Also:
- Constant Field Values
-
-