@ShellComponent public class TimelineCommand extends Object
| Constructor and Description |
|---|
TimelineCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
metadataShowActive(Integer limit,
String sortByField,
boolean descending,
boolean headerOnly,
boolean showTimeSeconds) |
String |
metadataShowIncomplete(Integer limit,
String sortByField,
boolean descending,
boolean headerOnly,
boolean showTimeSeconds) |
String |
showActive(Integer limit,
String sortByField,
boolean descending,
boolean headerOnly,
boolean withMetadataTable,
boolean showRollbackInfo,
boolean showTimeSeconds) |
String |
showIncomplete(Integer limit,
String sortByField,
boolean descending,
boolean headerOnly,
boolean showRollbackInfo,
boolean showTimeSeconds) |
@ShellMethod(key="timeline show active",
value="List all instants in active timeline")
public String showActive(@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="--with-metadata-table",help="Show metadata table timeline together with data table",defaultValue="false")
boolean withMetadataTable,
@ShellOption(value="--show-rollback-info",help="Show instant to rollback for rollbacks",defaultValue="false")
boolean showRollbackInfo,
@ShellOption(value="--show-time-seconds",help="Show seconds in instant file modification time",defaultValue="false")
boolean showTimeSeconds)
@ShellMethod(key="timeline show incomplete",
value="List all incomplete instants in active timeline")
public String showIncomplete(@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="--show-rollback-info",help="Show instant to rollback for rollbacks",defaultValue="false")
boolean showRollbackInfo,
@ShellOption(value="--show-time-seconds",help="Show seconds in instant file modification time",defaultValue="false")
boolean showTimeSeconds)
@ShellMethod(key="metadata timeline show active",
value="List all instants in active timeline of metadata table")
public String metadataShowActive(@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="--show-time-seconds",help="Show seconds in instant file modification time",defaultValue="false")
boolean showTimeSeconds)
@ShellMethod(key="metadata timeline show incomplete",
value="List all incomplete instants in active timeline of metadata table")
public String metadataShowIncomplete(@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="--show-time-seconds",help="Show seconds in instant file modification time",defaultValue="false")
boolean showTimeSeconds)
Copyright © 2025 The Apache Software Foundation. All rights reserved.