Class PeriodLoadRule
java.lang.Object
org.apache.druid.server.coordinator.rules.LoadRule
org.apache.druid.server.coordinator.rules.PeriodLoadRule
- All Implemented Interfaces:
Rule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanappliesTo(DataSegment segment, org.joda.time.DateTime referenceTimestamp) booleanappliesTo(org.joda.time.Interval interval, org.joda.time.DateTime referenceTimestamp) booleanorg.joda.time.PeriodgetType()inthashCode()booleanMethods inherited from class org.apache.druid.server.coordinator.rules.LoadRule
getNumReplicants, getTieredReplicants, run, shouldMatchingSegmentBeLoaded, useDefaultTierForNull
-
Constructor Details
-
PeriodLoadRule
-
-
Method Details
-
getType
-
getPeriod
public org.joda.time.Period getPeriod() -
isIncludeFuture
public boolean isIncludeFuture() -
appliesTo
-
appliesTo
public boolean appliesTo(org.joda.time.Interval interval, org.joda.time.DateTime referenceTimestamp) -
equals
-
hashCode
public int hashCode()
-