Package org.apache.druid.server.http
Class SegmentsToUpdateFilter
java.lang.Object
org.apache.druid.server.http.SegmentsToUpdateFilter
Filter to identify segments that need to be updated via REST APIs.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSegmentsToUpdateFilter(org.joda.time.Interval interval, Set<String> segmentIds, List<String> versions) -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.IntervalbooleanisValid()The filter is valid if eitherintervalorsegmentIdsis specified, but not both.
-
Field Details
-
INVALID_PAYLOAD_ERROR_MESSAGE
- See Also:
-
-
Constructor Details
-
SegmentsToUpdateFilter
-
-
Method Details
-
getInterval
@Nullable public org.joda.time.Interval getInterval() -
getSegmentIds
-
getVersions
-
isValid
public boolean isValid()The filter is valid if eitherintervalorsegmentIdsis specified, but not both.versionsmay be optionally specified only whenintervalis provided.
-