public class CassandraDataSegmentPuller extends CassandraStorage implements DataSegmentPuller
Constructor and Description |
---|
CassandraDataSegmentPuller(CassandraDataSegmentConfig config) |
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 key,
File outDir) |
@Inject public CassandraDataSegmentPuller(CassandraDataSegmentConfig config)
public void getSegmentFiles(DataSegment segment, File outDir) throws SegmentLoadingException
DataSegmentPuller
getSegmentFiles
in interface DataSegmentPuller
segment
- The segment to pull down files foroutDir
- The directory to store the files inSegmentLoadingException
- if there are any errorspublic FileUtils.FileCopyResult getSegmentFiles(String key, File outDir) throws SegmentLoadingException
SegmentLoadingException
Copyright © 2011–2017. All rights reserved.