public class LocalDataSegmentPusher extends Object implements DataSegmentPusher
| Modifier and Type | Field and Description |
|---|---|
static String |
INDEX_DIR |
static String |
INDEX_ZIP_FILENAME |
JOINER| Constructor and Description |
|---|
LocalDataSegmentPusher(LocalDataSegmentPusherConfig config) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPathForHadoop() |
String |
getPathForHadoop(String dataSource)
Deprecated.
|
Map<String,Object> |
makeLoadSpec(URI finalIndexZipFilePath) |
DataSegment |
push(File dataSegmentFile,
DataSegment segment,
boolean useUniquePath) |
DataSegment |
pushToPath(File dataSegmentFile,
DataSegment segment,
String storageDirSuffix) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerateUniquePath, getAllowedPropertyPrefixesForHadoop, getDefaultStorageDir, getDefaultStorageDirWithExistingUniquePath, getStorageDir, getStorageDir, makeIndexPathNamepublic static final String INDEX_DIR
public static final String INDEX_ZIP_FILENAME
@Inject public LocalDataSegmentPusher(LocalDataSegmentPusherConfig config)
public String getPathForHadoop()
getPathForHadoop in interface DataSegmentPusher@Deprecated public String getPathForHadoop(String dataSource)
getPathForHadoop in interface DataSegmentPusherpublic DataSegment push(File dataSegmentFile, DataSegment segment, boolean useUniquePath) throws IOException
push in interface DataSegmentPusherIOExceptionpublic DataSegment pushToPath(File dataSegmentFile, DataSegment segment, String storageDirSuffix) throws IOException
pushToPath in interface DataSegmentPusherIOExceptionpublic Map<String,Object> makeLoadSpec(URI finalIndexZipFilePath)
makeLoadSpec in interface DataSegmentPusherCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.