public interface IndexerMetadataStorageCoordinator
Modifier and Type | Method and Description |
---|---|
Set<io.druid.timeline.DataSegment> |
announceHistoricalSegments(Set<io.druid.timeline.DataSegment> segments)
Attempts to insert a set of segments to the metadata storage.
|
void |
deleteSegments(Set<io.druid.timeline.DataSegment> segments) |
List<io.druid.timeline.DataSegment> |
getUnusedSegmentsForInterval(String dataSource,
org.joda.time.Interval interval) |
List<io.druid.timeline.DataSegment> |
getUsedSegmentsForInterval(String dataSource,
org.joda.time.Interval interval) |
void |
updateSegmentMetadata(Set<io.druid.timeline.DataSegment> segments) |
List<io.druid.timeline.DataSegment> getUsedSegmentsForInterval(String dataSource, org.joda.time.Interval interval) throws IOException
IOException
Set<io.druid.timeline.DataSegment> announceHistoricalSegments(Set<io.druid.timeline.DataSegment> segments) throws IOException
segments
- set of segments to addIOException
void updateSegmentMetadata(Set<io.druid.timeline.DataSegment> segments) throws IOException
IOException
void deleteSegments(Set<io.druid.timeline.DataSegment> segments) throws IOException
IOException
Copyright © 2015. All rights reserved.