Class IntervalLoadRule
- java.lang.Object
-
- org.apache.druid.server.coordinator.rules.LoadRule
-
- org.apache.druid.server.coordinator.rules.IntervalLoadRule
-
-
Constructor Summary
Constructors Constructor Description IntervalLoadRule(org.joda.time.Interval interval, Map<String,Integer> tieredReplicants, Boolean useDefaultTierForNull)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanappliesTo(org.apache.druid.timeline.DataSegment segment, org.joda.time.DateTime referenceTimestamp)booleanappliesTo(org.joda.time.Interval theInterval, org.joda.time.DateTime referenceTimestamp)booleanequals(Object o)org.joda.time.IntervalgetInterval()StringgetType()inthashCode()-
Methods inherited from class org.apache.druid.server.coordinator.rules.LoadRule
getNumReplicants, getTieredReplicants, run, shouldMatchingSegmentBeLoaded, useDefaultTierForNull
-
-
-
-
Method Detail
-
getType
public String getType()
-
getInterval
public org.joda.time.Interval getInterval()
-
appliesTo
public boolean appliesTo(org.apache.druid.timeline.DataSegment segment, org.joda.time.DateTime referenceTimestamp)
-
appliesTo
public boolean appliesTo(org.joda.time.Interval theInterval, org.joda.time.DateTime referenceTimestamp)
-
-