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 String
METADATA_SEGMENT_COMPACTED
static String
METADATA_SEGMENT_FULL_GENERATION
static String
METADATA_SEGMENT_GENERATION
static String
METADATA_SEGMENT_POSITION
static String
METADATA_SEGMENT_UUID
static String
METADATA_TYPE
static String
TYPE_SEGMENT
-
Constructor Summary
Constructors Constructor Description RemoteBlobMetadata()
-
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)
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)
-
-