public class S3TimestampVersionedDataFinder extends S3DataSegmentPuller implements SearchableVersionedDataFinder<URI>
S3DataSegmentPuller.S3Coords
BUCKET, 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 latest version using the "parent" of uri as a prefix.
|
buildFileObject, checkURI, getInputStream, getSegmentFiles, getSegmentFiles, getVersion, shouldRetryPredicate
@Inject public S3TimestampVersionedDataFinder(org.jets3t.service.impl.rest.httpclient.RestS3Service s3Client)
public URI getLatestVersion(URI uri, Pattern pattern)
getLatestVersion
in interface SearchableVersionedDataFinder<URI>
uri
- The URI of interest whose "parent" will be searched as a key prefix for the latest versionpattern
- The pattern matcher to determine if a *key* is of interest. This will match against the entire key,
not just the equivalent "filename" like some other implementations. A null value matches everythingpublic Class<URI> getDataDescriptorClass()
getDataDescriptorClass
in interface SearchableVersionedDataFinder<URI>
Copyright © 2011–2015. All rights reserved.