public class LocalFileTimestampVersionFinder extends LocalDataSegmentPuller implements SearchableVersionedDataFinder<URI>
| Modifier and Type | Field and Description | 
|---|---|
static String | 
URI_SCHEME  | 
DEFAULT_RETRY_COUNT| Constructor and Description | 
|---|
LocalFileTimestampVersionFinder()  | 
| Modifier and Type | Method and Description | 
|---|---|
URI | 
getLatestVersion(URI uri,
                Pattern pattern)
Matches based on a pattern in the file name. 
 | 
buildFileObject, getInputStream, getSegmentFiles, getSegmentFiles, getVersion, shouldRetryPredicatepublic static final String URI_SCHEME
public URI getLatestVersion(URI uri, @Nullable Pattern pattern)
getLatestVersion in interface SearchableVersionedDataFinder<URI>uri - If it is a file, then the parent is searched. If it is a directory, then the directory is searched.pattern - The matching filter to down-select the file names in the directory of interest. Passing `null` results in matching any fileCopyright © 2011–2018. All rights reserved.