@ShellComponent public class HoodieLogFileCommand extends Object
| Constructor and Description |
|---|
HoodieLogFileCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
showLogFileCommits(String logFilePathPattern,
Integer limit,
String sortByField,
boolean descending,
boolean headerOnly) |
String |
showLogFileRecords(Integer limit,
String logFilePathPattern,
Boolean shouldMerge) |
@ShellMethod(key="show logfile metadata",
value="Read commit metadata from log files")
public String showLogFileCommits(@ShellOption(value="--logFilePathPattern",help="Fully qualified path for the log file")
String logFilePathPattern,
@ShellOption(value="--limit",help="Limit commits",defaultValue="-1")
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)
throws IOException
IOException@ShellMethod(key="show logfile records",
value="Read records from log files")
public String showLogFileRecords(@ShellOption(value="--limit",help="Limit commits",defaultValue="10")
Integer limit,
@ShellOption(value="--logFilePathPattern",help="Fully qualified paths for the log files")
String logFilePathPattern,
@ShellOption(value="--mergeRecords",help="If the records in the log files should be merged",defaultValue="false")
Boolean shouldMerge)
throws IOException
IOExceptionCopyright © 2025 The Apache Software Foundation. All rights reserved.