public class CloudFilesDataSegmentPusher extends Object implements DataSegmentPusher
Constructor and Description |
---|
CloudFilesDataSegmentPusher(org.jclouds.rackspace.cloudfiles.v1.CloudFilesApi cloudFilesApi,
CloudFilesDataSegmentPusherConfig config,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper) |
Modifier and Type | Method and Description |
---|---|
String |
getPathForHadoop(String dataSource) |
DataSegment |
push(File indexFilesDir,
DataSegment inSegment) |
@Inject public CloudFilesDataSegmentPusher(org.jclouds.rackspace.cloudfiles.v1.CloudFilesApi cloudFilesApi, CloudFilesDataSegmentPusherConfig config, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
public String getPathForHadoop(String dataSource)
getPathForHadoop
in interface DataSegmentPusher
public DataSegment push(File indexFilesDir, DataSegment inSegment) throws IOException
push
in interface DataSegmentPusher
IOException
Copyright © 2011–2016. All rights reserved.