public class HdfsDataSegmentPusher extends Object implements io.druid.segment.loading.DataSegmentPusher
| Constructor and Description |
|---|
HdfsDataSegmentPusher(HdfsDataSegmentPusherConfig config,
org.apache.hadoop.conf.Configuration hadoopConfig,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPathForHadoop(String dataSource) |
io.druid.timeline.DataSegment |
push(File inDir,
io.druid.timeline.DataSegment segment) |
@Inject public HdfsDataSegmentPusher(HdfsDataSegmentPusherConfig config, org.apache.hadoop.conf.Configuration hadoopConfig, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
public String getPathForHadoop(String dataSource)
getPathForHadoop in interface io.druid.segment.loading.DataSegmentPusherpublic io.druid.timeline.DataSegment push(File inDir, io.druid.timeline.DataSegment segment) throws IOException
push in interface io.druid.segment.loading.DataSegmentPusherIOExceptionCopyright © 2011–2015. All rights reserved.