Package org.apache.hadoop.fs
Interface EtagSource
public interface EtagSource
An optional interface for
FileStatus subclasses to implement
to provide access to etags.
If available FS SHOULD also implement the matching PathCapabilities
-- etag supported: CommonPathCapabilities.ETAGS_AVAILABLE.
-- etag consistent over rename:
CommonPathCapabilities.ETAGS_PRESERVED_IN_RENAME.-
Method Summary
-
Method Details
-
getEtag
String getEtag()Return an etag of this file status. A return value of null or "" means "no etag"- Returns:
- a possibly null or empty etag.
-