Class RemoteBlobMetadata
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.remote.RemoteBlobMetadata
-
- Direct Known Subclasses:
AzureBlobMetadata
public class RemoteBlobMetadata extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringMETADATA_SEGMENT_COMPACTEDstatic StringMETADATA_SEGMENT_FULL_GENERATIONstatic StringMETADATA_SEGMENT_GENERATIONstatic StringMETADATA_SEGMENT_POSITIONstatic StringMETADATA_SEGMENT_UUIDstatic StringMETADATA_TYPEstatic StringTYPE_SEGMENT
-
Constructor Summary
Constructors Constructor Description RemoteBlobMetadata()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisSegment(Map<String,String> metadata)static RemoteSegmentArchiveEntrytoIndexEntry(Map<String,String> metadata, int length)static HashMap<String,String>toSegmentMetadata(RemoteSegmentArchiveEntry indexEntry)
-
-
-
Field Detail
-
METADATA_TYPE
public static final String METADATA_TYPE
- See Also:
- Constant Field Values
-
METADATA_SEGMENT_UUID
public static final String METADATA_SEGMENT_UUID
- See Also:
- Constant Field Values
-
METADATA_SEGMENT_POSITION
public static final String METADATA_SEGMENT_POSITION
- See Also:
- Constant Field Values
-
METADATA_SEGMENT_GENERATION
public static final String METADATA_SEGMENT_GENERATION
- See Also:
- Constant Field Values
-
METADATA_SEGMENT_FULL_GENERATION
public static final String METADATA_SEGMENT_FULL_GENERATION
- See Also:
- Constant Field Values
-
METADATA_SEGMENT_COMPACTED
public static final String METADATA_SEGMENT_COMPACTED
- See Also:
- Constant Field Values
-
TYPE_SEGMENT
public static final String TYPE_SEGMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
toSegmentMetadata
public static HashMap<String,String> toSegmentMetadata(RemoteSegmentArchiveEntry indexEntry)
-
toIndexEntry
public static RemoteSegmentArchiveEntry toIndexEntry(Map<String,String> metadata, int length)
-
-