public class S3DataSegmentArchiver extends S3DataSegmentMover implements io.druid.segment.loading.DataSegmentArchiver
Constructor and Description |
---|
S3DataSegmentArchiver(org.jets3t.service.impl.rest.httpclient.RestS3Service s3Client,
S3DataSegmentArchiverConfig archiveConfig,
S3DataSegmentPusherConfig restoreConfig) |
Modifier and Type | Method and Description |
---|---|
io.druid.timeline.DataSegment |
archive(io.druid.timeline.DataSegment segment) |
io.druid.timeline.DataSegment |
restore(io.druid.timeline.DataSegment segment) |
move
@Inject public S3DataSegmentArchiver(org.jets3t.service.impl.rest.httpclient.RestS3Service s3Client, S3DataSegmentArchiverConfig archiveConfig, S3DataSegmentPusherConfig restoreConfig)
public io.druid.timeline.DataSegment archive(io.druid.timeline.DataSegment segment) throws io.druid.segment.loading.SegmentLoadingException
archive
in interface io.druid.segment.loading.DataSegmentArchiver
io.druid.segment.loading.SegmentLoadingException
public io.druid.timeline.DataSegment restore(io.druid.timeline.DataSegment segment) throws io.druid.segment.loading.SegmentLoadingException
restore
in interface io.druid.segment.loading.DataSegmentArchiver
io.druid.segment.loading.SegmentLoadingException
Copyright © 2011–2015. All rights reserved.