Package uk.gov.gchq.gaffer.time.function
Class MaskTimestampSetByTimeRange
- java.lang.Object
-
- uk.gov.gchq.koryphe.function.KorypheFunction<RBMBackedTimestampSet,RBMBackedTimestampSet>
-
- uk.gov.gchq.gaffer.time.function.MaskTimestampSetByTimeRange
-
- All Implemented Interfaces:
Function<RBMBackedTimestampSet,RBMBackedTimestampSet>
public class MaskTimestampSetByTimeRange extends uk.gov.gchq.koryphe.function.KorypheFunction<RBMBackedTimestampSet,RBMBackedTimestampSet>
AMaskTimestampSetByTimeRange
is aKorypheFunction
that takes in aRBMBackedTimestampSet
and filters the internal timestamps by a start time and end time.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MaskTimestampSetByTimeRange.Builder
-
Constructor Summary
Constructors Constructor Description MaskTimestampSetByTimeRange()
MaskTimestampSetByTimeRange(Long startTime, Long endTime)
MaskTimestampSetByTimeRange(Long startTime, Long endTime, uk.gov.gchq.koryphe.util.TimeUnit timeUnit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RBMBackedTimestampSet
apply(RBMBackedTimestampSet rbmBackedTimestampSet)
boolean
equals(Object o)
Long
getEndTime()
Long
getStartTime()
uk.gov.gchq.koryphe.util.TimeUnit
getTimeUnit()
int
hashCode()
void
setEndTime(Long endTime)
void
setStartTime(Long startTime)
void
setTimeUnit(uk.gov.gchq.koryphe.util.TimeUnit timeUnit)
-
-
-
Method Detail
-
apply
public RBMBackedTimestampSet apply(RBMBackedTimestampSet rbmBackedTimestampSet)
-
getStartTime
public Long getStartTime()
-
setStartTime
public void setStartTime(Long startTime)
-
getEndTime
public Long getEndTime()
-
setEndTime
public void setEndTime(Long endTime)
-
getTimeUnit
public uk.gov.gchq.koryphe.util.TimeUnit getTimeUnit()
-
setTimeUnit
public void setTimeUnit(uk.gov.gchq.koryphe.util.TimeUnit timeUnit)
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classuk.gov.gchq.koryphe.function.KorypheFunction<RBMBackedTimestampSet,RBMBackedTimestampSet>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classuk.gov.gchq.koryphe.function.KorypheFunction<RBMBackedTimestampSet,RBMBackedTimestampSet>
-
-