Skip to main content

Overview

When unloading, elements are deleted from the datastore. The deleted elements are not recorded. A Garbage collection can be performed after an UNLOAD operation. This can be done by specifying the Garbage collection scope properties in the request.

Request

DlcUnloadRequest

KeyRequiredTypeDescription
topicsYSet<String>Set of topics or aliases.
scopeIDlcScopeScope Parameters
branchStringThe branch to unload data from.
performGcOnStartBooleanPerform a Garbage collection before the datastore transaction.
performGcOnCompletionBooleanPerform a Garbage collection after the datastore transaction.

Example:

DlcUnloadRequest.builder()
    .topics("Topic1", "Topic2") // Required
    .scope(DlcScope.of(
			"AsOfDate", "2025-02-14",
            "performGcOnCompletion", true
    ))
    .branch("BranchToLoadInto")
    .build();

Response

DlcUnloadResponse

KeyTypeDescription
reportUnloadReportReport of what occurred during the unload operation.
statusDlcStatusOverall status of the DLC Operation.

UnloadReport

KeyTypeDescription
unloadedRecordsMap<String, Long>Number of records removed from each store.

DlcStatus

A simple enum to capture if the DLC request was executed.
KeyDescription
OKRequest was handled successfully.
ERRORRequest was not able to be performed correctly.