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>
AMaskTimestampSetByTimeRangeis aKorypheFunctionthat takes in aRBMBackedTimestampSetand filters the internal timestamps by a start time and end time.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMaskTimestampSetByTimeRange.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 RBMBackedTimestampSetapply(RBMBackedTimestampSet rbmBackedTimestampSet)booleanequals(Object o)LonggetEndTime()LonggetStartTime()uk.gov.gchq.koryphe.util.TimeUnitgetTimeUnit()inthashCode()voidsetEndTime(Long endTime)voidsetStartTime(Long startTime)voidsetTimeUnit(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:
equalsin classuk.gov.gchq.koryphe.function.KorypheFunction<RBMBackedTimestampSet,RBMBackedTimestampSet>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classuk.gov.gchq.koryphe.function.KorypheFunction<RBMBackedTimestampSet,RBMBackedTimestampSet>
-
-