@ShellComponent public class ExportCommand extends Object
"export instants": Export Instants and their metadata from the Timeline to a local directory specified by the parameter --localFolder The instants are exported in the json format.
| Constructor and Description |
|---|
ExportCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
exportInstants(Integer limit,
String filter,
boolean descending,
String localFolder) |
@ShellMethod(key="export instants",
value="Export Instants and their metadata from the Timeline")
public String exportInstants(@ShellOption(value="--limit",help="Limit Instants",defaultValue="-1")
Integer limit,
@ShellOption(value="--actions",help="Comma separated list of Instant actions to export",defaultValue="clean,commit,deltacommit,rollback,savepoint,restore")
String filter,
@ShellOption(value="--desc",help="Ordering",defaultValue="false")
boolean descending,
@ShellOption(value="--localFolder",help="Local Folder to export to")
String localFolder)
throws Exception
ExceptionCopyright © 2025 The Apache Software Foundation. All rights reserved.