Class RBMBackedTimestampSetInRange
- java.lang.Object
-
- uk.gov.gchq.koryphe.predicate.KoryphePredicate<RBMBackedTimestampSet>
-
- uk.gov.gchq.gaffer.time.predicate.RBMBackedTimestampSetInRange
-
- All Implemented Interfaces:
Predicate<RBMBackedTimestampSet>
public class RBMBackedTimestampSetInRange extends uk.gov.gchq.koryphe.predicate.KoryphePredicate<RBMBackedTimestampSet>
Tests whether an RBMBackedTimestampSet contains a value in a given range. If required, the user can specify whether all values within the timestamp set should be tested.
-
-
Constructor Summary
Constructors Constructor Description RBMBackedTimestampSetInRange()
RBMBackedTimestampSetInRange(Number startTime, Number endTime)
RBMBackedTimestampSetInRange(Number startTime, Number endTime, uk.gov.gchq.koryphe.util.TimeUnit timeUnit)
RBMBackedTimestampSetInRange(Number startTime, Number endTime, uk.gov.gchq.koryphe.util.TimeUnit timeUnit, Boolean includeAllTimestamps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RBMBackedTimestampSetInRange
endTime(Number endTime)
Number
getEndTime()
Number
getStartTime()
uk.gov.gchq.koryphe.util.TimeUnit
getTimeUnit()
RBMBackedTimestampSetInRange
includeAllTimestamps()
RBMBackedTimestampSetInRange
includeAllTimestamps(Boolean includeAllTimestamps)
Boolean
isIncludeAllTimestamps()
void
setEndTime(Number endTime)
void
setIncludeAllTimestamps()
void
setIncludeAllTimestamps(Boolean includeAllTimestamps)
void
setStartTime(Number startTime)
void
setTimeUnit(uk.gov.gchq.koryphe.util.TimeUnit timeUnit)
RBMBackedTimestampSetInRange
startTime(Number startTime)
boolean
test(RBMBackedTimestampSet rbmBackedTimestampSet)
RBMBackedTimestampSetInRange
timeUnit(uk.gov.gchq.koryphe.util.TimeUnit timeUnit)
-
-
-
Method Detail
-
test
public boolean test(RBMBackedTimestampSet rbmBackedTimestampSet)
-
getStartTime
public Number getStartTime()
-
setStartTime
public void setStartTime(Number startTime)
-
startTime
public RBMBackedTimestampSetInRange startTime(Number startTime)
-
getEndTime
public Number getEndTime()
-
setEndTime
public void setEndTime(Number endTime)
-
endTime
public RBMBackedTimestampSetInRange endTime(Number endTime)
-
getTimeUnit
public uk.gov.gchq.koryphe.util.TimeUnit getTimeUnit()
-
setTimeUnit
public void setTimeUnit(uk.gov.gchq.koryphe.util.TimeUnit timeUnit)
-
timeUnit
public RBMBackedTimestampSetInRange timeUnit(uk.gov.gchq.koryphe.util.TimeUnit timeUnit)
-
isIncludeAllTimestamps
public Boolean isIncludeAllTimestamps()
-
setIncludeAllTimestamps
public void setIncludeAllTimestamps(Boolean includeAllTimestamps)
-
setIncludeAllTimestamps
public void setIncludeAllTimestamps()
-
includeAllTimestamps
public RBMBackedTimestampSetInRange includeAllTimestamps()
-
includeAllTimestamps
public RBMBackedTimestampSetInRange includeAllTimestamps(Boolean includeAllTimestamps)
-
-