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
IOExceptionSet<io.druid.timeline.DataSegment> announceHistoricalSegments(Set<io.druid.timeline.DataSegment> segments) throws IOException
segments - set of segments to addIOExceptionvoid updateSegmentMetadata(Set<io.druid.timeline.DataSegment> segments) throws IOException
IOExceptionvoid deleteSegments(Set<io.druid.timeline.DataSegment> segments) throws IOException
IOExceptionCopyright © 2015. All rights reserved.