Class AzureBlobMetadata
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.remote.RemoteBlobMetadata
-
- org.apache.jackrabbit.oak.segment.azure.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
-
-
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 AzureBlobMetadata()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isSegment(Map<String,String> metadata)
static RemoteSegmentArchiveEntry
toIndexEntry(Map<String,String> metadata, int length)
-
Methods inherited from class org.apache.jackrabbit.oak.segment.remote.RemoteBlobMetadata
toSegmentMetadata
-
-