public class S3DataSegmentPusher extends Object implements DataSegmentPusher
JOINER| Constructor and Description |
|---|
S3DataSegmentPusher(org.jets3t.service.impl.rest.httpclient.RestS3Service s3Client,
S3DataSegmentPusherConfig config,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllowedPropertyPrefixesForHadoop()
Property prefixes that should be added to the "allowedHadoopPrefix" config for passing down to Hadoop jobs.
|
String |
getPathForHadoop() |
String |
getPathForHadoop(String dataSource)
Deprecated.
|
Map<String,Object> |
makeLoadSpec(URI finalIndexZipFilePath) |
DataSegment |
push(File indexFilesDir,
DataSegment inSegment) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultStorageDir, getStorageDir, makeIndexPathName@Inject
public S3DataSegmentPusher(org.jets3t.service.impl.rest.httpclient.RestS3Service s3Client,
S3DataSegmentPusherConfig config,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
public String getPathForHadoop()
getPathForHadoop in interface DataSegmentPusher@Deprecated public String getPathForHadoop(String dataSource)
getPathForHadoop in interface DataSegmentPusherpublic List<String> getAllowedPropertyPrefixesForHadoop()
DataSegmentPushergetAllowedPropertyPrefixesForHadoop in interface DataSegmentPusherpublic DataSegment push(File indexFilesDir, DataSegment inSegment) throws IOException
push in interface DataSegmentPusherIOExceptionpublic Map<String,Object> makeLoadSpec(URI finalIndexZipFilePath)
makeLoadSpec in interface DataSegmentPusherCopyright © 2011–2017. All rights reserved.