public class DataBlockUtils extends Object
Additional functions can be added in to future to tag Data Blocks with information such as the compression algorithm used to compress the contents, the md5 checksum of the content for validation, date published, etc.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DataBlockUtils.VersionCheck
Version checking marker interface.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
METADATA_FORMAT_VERSION_KEY |
static DataBlockUtils.VersionCheck |
VERSION_CHECK |
| Constructor and Description |
|---|
DataBlockUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addVersionInfo(org.jclouds.blobstore.domain.BlobBuilder blobBuilder,
Map<String,String> userMetadata) |
static String |
dataBlockOffloadKey(long ledgerId,
UUID uuid) |
static String |
indexBlockOffloadKey(long ledgerId,
UUID uuid) |
static String |
indexBlockOffloadKey(UUID uuid) |
public static final String METADATA_FORMAT_VERSION_KEY
public static final DataBlockUtils.VersionCheck VERSION_CHECK
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.