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 underneath workingDirPath and then verify that
index.zip 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–2016. All rights reserved.