Class AzureBlobMetadata

java.lang.Object
org.apache.jackrabbit.oak.segment.remote.RemoteBlobMetadata
org.apache.jackrabbit.oak.segment.azure.AzureBlobMetadata

public final class AzureBlobMetadata extends org.apache.jackrabbit.oak.segment.remote.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

  • Field Summary

    Fields inherited from class org.apache.jackrabbit.oak.segment.remote.RemoteBlobMetadata

    METADATA_SEGMENT_COMPACTED, METADATA_SEGMENT_FULL_GENERATION, METADATA_SEGMENT_GENERATION, METADATA_SEGMENT_POSITION, METADATA_SEGMENT_UUID, METADATA_TYPE, TYPE_SEGMENT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
     
    static org.apache.jackrabbit.oak.segment.remote.RemoteSegmentArchiveEntry
    toIndexEntry(Map<String,String> metadata, int length)
     

    Methods inherited from class org.apache.jackrabbit.oak.segment.remote.RemoteBlobMetadata

    toSegmentMetadata

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AzureBlobMetadata

      public AzureBlobMetadata()
  • Method Details

    • toIndexEntry

      public static org.apache.jackrabbit.oak.segment.remote.RemoteSegmentArchiveEntry toIndexEntry(Map<String,String> metadata, int length)
    • isSegment

      public static boolean isSegment(Map<String,String> metadata)