public class AzureDataSegmentPuller extends Object implements DataSegmentPuller
| Constructor and Description |
|---|
AzureDataSegmentPuller(AzureStorage azureStorage) |
| Modifier and Type | Method and Description |
|---|---|
void |
getSegmentFiles(DataSegment segment,
File outDir)
Pull down segment files for the given DataSegment and put them in the given directory.
|
FileUtils.FileCopyResult |
getSegmentFiles(String containerName,
String blobPath,
File outDir) |
void |
prepareOutDir(File outDir) |
@Inject public AzureDataSegmentPuller(AzureStorage azureStorage)
public FileUtils.FileCopyResult getSegmentFiles(String containerName, String blobPath, File outDir) throws SegmentLoadingException
SegmentLoadingExceptionpublic void getSegmentFiles(DataSegment segment, File outDir) throws SegmentLoadingException
DataSegmentPullergetSegmentFiles in interface DataSegmentPullersegment - The segment to pull down files foroutDir - The directory to store the files inSegmentLoadingException - if there are any errorsCopyright © 2011–2017. All rights reserved.