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

    Modifier and Type
    Method
    Description
    Return an etag of this file status.
  • 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.