public class S3TimestampVersionedDataFinder extends S3DataSegmentPuller implements SearchableVersionedDataFinder<URI>
S3DataSegmentPuller.S3CoordsBUCKET, DEFAULT_RETRY_COUNT, KEY, s3Client, scheme| Constructor and Description |
|---|
S3TimestampVersionedDataFinder(org.jets3t.service.impl.rest.httpclient.RestS3Service s3Client) |
| Modifier and Type | Method and Description |
|---|---|
Class<URI> |
getDataDescriptorClass() |
URI |
getLatestVersion(URI uri,
Pattern pattern)
Gets the key with the most recently modified timestamp.
|
buildFileObject, checkURI, getInputStream, getSegmentFiles, getSegmentFiles, getVersion, shouldRetryPredicate@Inject public S3TimestampVersionedDataFinder(org.jets3t.service.impl.rest.httpclient.RestS3Service s3Client)
public URI getLatestVersion(URI uri, @Nullable Pattern pattern)
getLatestVersion in interface SearchableVersionedDataFinder<URI>uri - The URI of in the form of `s3://some_bucket/some_key`pattern - The pattern matcher to determine if a *key* is of interest, or `null` to match everything.public Class<URI> getDataDescriptorClass()
getDataDescriptorClass in interface SearchableVersionedDataFinder<URI>Copyright © 2011–2017. All rights reserved.