Class PeriodDropRule
java.lang.Object
org.apache.druid.server.coordinator.rules.DropRule
org.apache.druid.server.coordinator.rules.PeriodDropRule
- All Implemented Interfaces:
Rule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanappliesTo(DataSegment segment, org.joda.time.DateTime referenceTimestamp) booleanappliesTo(org.joda.time.Interval theInterval, org.joda.time.DateTime referenceTimestamp) org.joda.time.PeriodgetType()boolean
-
Constructor Details
-
PeriodDropRule
-
-
Method Details
-
getType
-
getPeriod
public org.joda.time.Period getPeriod() -
isIncludeFuture
public boolean isIncludeFuture() -
appliesTo
-
appliesTo
public boolean appliesTo(org.joda.time.Interval theInterval, org.joda.time.DateTime referenceTimestamp)
-