public static boolean analyzeStorageIndexDataElement(List<DataElement> dataElements,
                                                         ExGuid storageIndexExGuid,
                                                         AtomicReference<ExGuid> manifestMappingGuid,
                                                         AtomicReference<HashMap<CellID, ExGuid>> cellIDMappings,
                                                         AtomicReference<HashMap<ExGuid, ExGuid>> revisionIDMappings)
            throws TikaException {
        manifestMappingGuid.set(null);
        cellIDMappings.set(null);
        revisionIDMappings.set(null);

        if (storageIndexExGuid == null) {
            return false;
        }

        DataElement storageIndexDataElement = dataElements.stream()
                .filter(element -> element.dataElementExGuid.equals(storageIndexExGuid)).findAny()
                .orElse(null);
        StorageIndexDataElementData storageIndexData =
                storageIndexDataElement.getData(StorageIndexDataElementData.class);
        manifestMappingGuid.set(storageIndexData.storageIndexManifestMapping.manifestMappingExGuid);

        cellIDMappings.set(new HashMap<>());
        for (StorageIndexCellMapping kv : storageIndexData.storageIndexCellMappingList) {
            cellIDMappings.get().put(kv.cellID, kv.cellMappingExGuid);
        }

        revisionIDMappings.set(new HashMap<>());
        for (StorageIndexRevisionMapping kv : storageIndexData.storageIndexRevisionMappingList) {
            revisionIDMappings.get().put(kv.revisionExGuid, kv.revisionMappingExGuid);
        }

        return true;
    }
This method is used to analyze the storage index data element to get all the mappings.

@param dataElements        Specify the data element list.
@param storageIndexExGuid  Specify the storage index extended GUID.
@param manifestMappingGuid Output parameter to represent the storage manifest mapping GUID.
@param cellIDMappings      Output parameter to represent the mapping of cell id.
@param revisionIDMappings  Output parameter to represent the revision id.
@return Return true if analyze the storage index succeeds, otherwise return false.
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/onenote/fsshttpb/util/DataElementUtils.java