Class AzureBlobMetadata


  • public final class AzureBlobMetadata
    extends RemoteBlobMetadata
    Provides access to the blob metadata.

    In azure blob metadata keys are case-insensitive. A bug in the tool azcopy v10 make each key to start with an uppercase letter. To avoid future bugs we should be tolerant in what we read.

    Azure Blobs metadata can not store multiple entries with the same key where only the case differs. Therefore it is safe to use the same concept in java, see CaseInsensitiveKeysMapAccess

    • Constructor Detail

      • AzureBlobMetadata

        public AzureBlobMetadata()
    • Method Detail

      • toIndexEntry

        public static RemoteSegmentArchiveEntry toIndexEntry​(java.util.Map<java.lang.String,​java.lang.String> metadata,
                                                             int length)
      • isSegment

        public static boolean isSegment​(java.util.Map<java.lang.String,​java.lang.String> metadata)