@ShellComponent public class RestoresCommand extends Object
| Constructor and Description |
|---|
RestoresCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
showRestore(String restoreInstant,
Integer limit,
String sortByField,
boolean descending,
boolean headerOnly) |
String |
showRestores(Integer limit,
String sortByField,
boolean descending,
boolean headerOnly,
boolean includeInflights) |
@ShellMethod(key="show restores",
value="List all restore instants")
public String showRestores(@ShellOption(value="--limit",help="Limit #rows to be displayed",defaultValue="10")
Integer limit,
@ShellOption(value="--sortBy",help="Sorting Field",defaultValue="")
String sortByField,
@ShellOption(value="--desc",help="Ordering",defaultValue="false")
boolean descending,
@ShellOption(value="--headeronly",help="Print Header Only",defaultValue="false")
boolean headerOnly,
@ShellOption(value="--includeInflights",help="Also list restores that are in flight",defaultValue="false")
boolean includeInflights)
@ShellMethod(key="show restore",
value="Show details of a restore instant")
public String showRestore(@ShellOption(value="--instant",help="Restore instant")
String restoreInstant,
@ShellOption(value="--limit",help="Limit #rows to be displayed",defaultValue="10")
Integer limit,
@ShellOption(value="--sortBy",help="Sorting Field",defaultValue="")
String sortByField,
@ShellOption(value="--desc",help="Ordering",defaultValue="false")
boolean descending,
@ShellOption(value="--headeronly",help="Print Header Only",defaultValue="false")
boolean headerOnly)
Copyright © 2025 The Apache Software Foundation. All rights reserved.