public final class AzureBlobMetadata extends org.apache.jackrabbit.oak.segment.remote.RemoteBlobMetadata
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
METADATA_SEGMENT_COMPACTED, METADATA_SEGMENT_FULL_GENERATION, METADATA_SEGMENT_GENERATION, METADATA_SEGMENT_POSITION, METADATA_SEGMENT_UUID, METADATA_TYPE, TYPE_SEGMENT| Constructor and Description |
|---|
AzureBlobMetadata() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isSegment(Map<String,String> metadata) |
static org.apache.jackrabbit.oak.segment.remote.RemoteSegmentArchiveEntry |
toIndexEntry(Map<String,String> metadata,
int length) |
toSegmentMetadataCopyright © 2012–2021 The Apache Software Foundation. All rights reserved.