public interface TransactionalSegmentPublisher
| Modifier and Type | Method and Description |
|---|---|
SegmentPublishResult |
publishSegments(Set<org.apache.druid.timeline.DataSegment> segments,
Object commitMetadata)
Publish segments, along with some commit metadata, in a single transaction.
|
SegmentPublishResult publishSegments(Set<org.apache.druid.timeline.DataSegment> segments, @Nullable Object commitMetadata) throws IOException
IOException - if there was an I/O error when publishingRuntimeException - if we cannot tell if the segments were published or not, for some other reasonCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.