public interface DataSegmentFinder
| Modifier and Type | Method and Description |
|---|---|
Set<DataSegment> |
findSegments(String workingDirPath,
boolean updateDescriptor)
This method should first recursively look for descriptor.json (partitionNum_descriptor.json for HDFS data storage) underneath
workingDirPath and then verify that index.zip (partitionNum_index.zip for HDFS data storage) exists in the same folder.
|
Set<DataSegment> findSegments(String workingDirPath, boolean updateDescriptor) throws SegmentLoadingException
workingDirPath - the String representation of the working directory pathupdateDescriptor - if true, update loadSpec in descriptor.json if loadSpec's location is different from where
desciptor.json was foundSegmentLoadingExceptionCopyright © 2011–2017. All rights reserved.