public class LocalDataSegmentPusher extends Object implements io.druid.segment.loading.DataSegmentPusher
Constructor and Description |
---|
LocalDataSegmentPusher(LocalDataSegmentPusherConfig config,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper) |
Modifier and Type | Method and Description |
---|---|
String |
getPathForHadoop(String dataSource) |
io.druid.timeline.DataSegment |
push(File dataSegmentFile,
io.druid.timeline.DataSegment segment) |
@Inject public LocalDataSegmentPusher(LocalDataSegmentPusherConfig config, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
public String getPathForHadoop(String dataSource)
getPathForHadoop
in interface io.druid.segment.loading.DataSegmentPusher
public io.druid.timeline.DataSegment push(File dataSegmentFile, io.druid.timeline.DataSegment segment) throws IOException
push
in interface io.druid.segment.loading.DataSegmentPusher
IOException
Copyright © 2011–2015. All rights reserved.